#149 Consider possibility of non standard service commands in the systemd world
Closed: Fixed None Opened 7 years ago by kevin.

This came out of this fesco ticket:

Basically some packages shipped init scripts with 'non standard' options... for example:

service iptables save
service postgresql initdb

After conversion to systemd, these are no longer possible.

Options to include them would be:

a) Fix 'service' to redirect non standard commands to some kind of package provided script.

b) Allow packages to ship a init script that just has the non standard commands, and redirects to systemctl for all the rest.

c) Too much work, just suck it up and run the replacement commands that are not associated with init scripts.

"Packages which have SysV initscripts that contain 'non-standard service commands' (commands besides start, stop, reload, restart, or try-restart) must convert those commands into standalone helper scripts. Systemd does not support non-standard unit commands."

Conversion wording approved (+1:7, 0:0, -1:0)

Metadata Update from @spot:
- Issue assigned to spot

2 years ago

Login to comment on this ticket.