zshrc: Start/Restart/Stop/... functions: use `service` wrapper if available
authorMichael Prokop <mika@grml.org>
Wed, 24 Jun 2015 11:09:23 +0000 (13:09 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 24 Jun 2015 13:57:54 +0000 (15:57 +0200)
commit33bc6db8acfbd3a336056686b69e022f0ea5f8a3
tree297b6b0bad28ef6e26044f4df1511bb12ce535e3
parente4a5cb00d83c2539c7e5c3d9675f5f3c713dcd4e
zshrc: Start/Restart/Stop/... functions: use `service` wrapper if available

Instead of directly invoking the init script rely on service(8)
(as shipped by sysvinit-utils) if it's available
etc/zsh/zshrc