Project

General

Profile

Refactor #6016

Convert foreman sysvinit script to systemd unit

Added by Dominic Cleal almost 5 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The foreman RPM ships a sysvinit script for launching the WEBrick server, but this should be replaced by a systemd unit file. Note that it should be disabled when using Passenger.

Ideally we'd also add a command to replace the "service foreman restart" functionality when using Passenger. (Many bonus points if it works on Debian too.)

This'll be easier if Thin support is removed: https://github.com/theforeman/foreman-packaging/pull/257


Related issues

Related to Foreman - Tracker #4447: Support installation on RHEL 7Closed2014-02-25

Related to Foreman - Feature #9864: Post-installation utility to migrate/seed/restartNew2015-03-23

Associated revisions

Revision d091c93b (diff)
Added by Eric Helms 8 months ago

Drop initscripts from Foreman

History

#1 Updated by Dominic Cleal almost 5 years ago

#2 Updated by Martin Milata over 4 years ago

Note: When running Foreman under Passenger on RHEL7/CentOS7, systemctl restart foreman (and consequently service foreman restart) do not actually restart foreman. This is because systemd calls the sysvinit script first with stop argument and then with start, which do nothing if Foreman is using Passenger.

#3 Updated by Dominic Cleal almost 4 years ago

  • Related to Feature #9864: Post-installation utility to migrate/seed/restart added

#4 Updated by Ewoud Kohl van Wijngaarden 6 months ago

  • Target version set to 1.19.0
  • Assignee set to Eric Helms
  • Status changed from New to Closed
  • Fixed in Releases 1.19.0 added

Also available in: Atom PDF