aboutsummaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2013-11-12 13:27:45 +0100
committerVáclav Pavlín <vpavlin@redhat.com>2013-11-12 14:07:30 +0100
commit236963f9eb5677aee849af173e7cbaa9b2f0adcd (patch)
tree65f5d5b922164f3909720244c32127bea07c7f8b /service
parent44d20ced5664d4648ba2ec56ba45db38595f7317 (diff)
downloadinitscripts-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-xservice1
1 files changed, 1 insertions, 0 deletions
diff --git a/service b/service
index 66870060..8ef7f6e5 100755
--- a/service
+++ b/service
@@ -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