Project

General

Profile

Actions

Refactor #6016

closed

Convert foreman sysvinit script to systemd unit

Added by Dominic Cleal over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
Difficulty:
Triaged:
No
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 2 (1 open1 closed)

Related to Foreman - Tracker #4447: Support installation on RHEL 7ClosedDominic Cleal02/25/2014

Actions
Related to Foreman - Feature #9864: Post-installation utility to migrate/seed/restartNew03/23/2015Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

Actions #2

Updated by Martin Milata about 9 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.

Actions #3

Updated by Dominic Cleal almost 9 years ago

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

Updated by Ewoud Kohl van Wijngaarden over 5 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
Actions

Also available in: Atom PDF