From 236963f9eb5677aee849af173e7cbaa9b2f0adcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Tue, 12 Nov 2013 13:27:45 +0100 Subject: service: suggest using systemctl if unknown action is used (#1029350) --- service | 1 + 1 file changed, 1 insertion(+) (limited to 'service') 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 -- cgit v1.2.1