]> arthur.barton.de Git - netatalk.git/blobdiff - distrib/initscripts/service.atalk.redhat-systemd.tmpl
experimental systemd service files in contrib/systemd/ , suggested by eindl Harald
[netatalk.git] / distrib / initscripts / service.atalk.redhat-systemd.tmpl
index 57316299362797a426ece99e5660fb37f18ac12d..87cdf3833d37544c04b34a7afdce86f792e06dff 100644 (file)
@@ -1,4 +1,8 @@
-# netatalk service file for systemd
+# This file is part of netatalk :NETATALK_VERSION:.
+
+# The method of using shell-script "netatalk.sh" is not suitable.
+# The future service files are due to start daemons directly.
+# See netatalk-xxx/contrib/systemd/ directory in tarball.
 
 [Unit]
 Description=File and Printer sharing for Macintosh clients
@@ -6,7 +10,7 @@ After=syslog.target network.target
 
 [Service]
 Type=oneshot
-ExecStart=/bin/bash -c "exec :PKGLIBEXECDIR:/netatalk.sh"
+ExecStart=/bin/sh -c "exec :PKGLIBEXECDIR:/netatalk.sh"
 RemainAfterExit=yes
 
 [Install]