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 14:07:30 +0100 |
commit | 236963f9eb5677aee849af173e7cbaa9b2f0adcd (patch) | |
tree | 65f5d5b922164f3909720244c32127bea07c7f8b /service | |
parent | 44d20ced5664d4648ba2ec56ba45db38595f7317 (diff) | |
download | initscripts-236963f9eb5677aee849af173e7cbaa9b2f0adcd.tar initscripts-236963f9eb5677aee849af173e7cbaa9b2f0adcd.tar.gz initscripts-236963f9eb5677aee849af173e7cbaa9b2f0adcd.tar.bz2 initscripts-236963f9eb5677aee849af173e7cbaa9b2f0adcd.tar.xz initscripts-236963f9eb5677aee849af173e7cbaa9b2f0adcd.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 |