summaryrefslogtreecommitdiff
path: root/debian/examples
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-06-26 23:50:52 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-06-26 23:52:28 +0200
commit5808540c28cb9da6fc30a739b432350f45c02aa7 (patch)
tree5b52450050c048a68cff2ac66534496d4e0782b2 /debian/examples
parentd76991faab58ae815d4f917712d237cdd345d71c (diff)
downloadzsh-5808540c28cb9da6fc30a739b432350f45c02aa7.tar.gz
zsh-5808540c28cb9da6fc30a739b432350f45c02aa7.zip
Use "service" instead of "/etc/init.d" in debian/examples/carsten.zshrc
That way the example also supports systemd as init system.
Diffstat (limited to 'debian/examples')
-rw-r--r--debian/examples/carstenh.zshrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/examples/carstenh.zshrc b/debian/examples/carstenh.zshrc
index d8a018625..31df15c86 100644
--- a/debian/examples/carstenh.zshrc
+++ b/debian/examples/carstenh.zshrc
@@ -293,12 +293,11 @@ PS1='%(!..%n@)%m:%~%# '
# ### ####################################################################{{{1
# ### Start(), Restart(), Stop(), Reload(), Force-Reload():
-# ### Start, restart, stop, reload or force-reload a System-V
-# ### style init script.
+# ### Start, restart, stop, reload or force-reload a service.
# eval {Start,Restart,Stop,Reload,Force-Reload}'() { (
# builtin cd -q / || { echo >&2 "E: Could not chdir to /"; return 1; }
# env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
-# "/etc/init.d/${1:?}" "${0:l}"
+# service "${1:?}" "${0:l}"
# ) };'
# compctl -g "/etc/init.d/*(:t)" Start Restart Stop Reload Force-Reload