Refactor #6016
closed
Convert foreman sysvinit script to systemd unit
Added by Dominic Cleal over 10 years ago.
Updated about 6 years ago.
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
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.
- Related to Feature #9864: Post-installation utility to migrate/seed/restart added
- Status changed from New to Closed
- Assignee set to Eric Helms
- Target version set to 1.19.0
- Fixed in Releases 1.19.0 added
Also available in: Atom
PDF