diff options
author | Václav Pavlín <vpavlin@redhat.com> | 2013-11-12 13:27:45 +0100 |
---|---|---|
committer | Václav Pavlín <vpavlin@redhat.com> | 2013-11-12 13:29:36 +0100 |
commit | 20103e709fcd6e2a9c21f2c64948736cd81cff9c (patch) | |
tree | 9fe10e9c588d905c0ffb0045215034e9c76fad89 /service | |
parent | 4632b2f3c067461ba7ab815affcca9ff7e3bf12c (diff) | |
download | initscripts-20103e709fcd6e2a9c21f2c64948736cd81cff9c.tar initscripts-20103e709fcd6e2a9c21f2c64948736cd81cff9c.tar.gz initscripts-20103e709fcd6e2a9c21f2c64948736cd81cff9c.tar.bz2 initscripts-20103e709fcd6e2a9c21f2c64948736cd81cff9c.tar.xz initscripts-20103e709fcd6e2a9c21f2c64948736cd81cff9c.zip |
service: suggest using systemctl if unknown action is used (#1029350)
Diffstat (limited to 'service')
-rwxr-xr-x | service | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,5 +78,6 @@ elif `echo $ACTION | egrep -q "start|stop|restart|try-restart|reload|force-reloa echo $"Redirecting to /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE}.service" >&2 exec /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE}.service else + echo $"The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl." >&2 exit 2 fi |