Refactor #6016
closedConvert foreman sysvinit script to systemd unit
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
Updated by Dominic Cleal over 10 years ago
- Related to Tracker #4447: Support installation on RHEL 7 added
Updated by Martin Milata about 10 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.
Updated by Dominic Cleal almost 10 years ago
- Related to Feature #9864: Post-installation utility to migrate/seed/restart added
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
- 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