]> arthur.barton.de Git - netatalk.git/blobdiff - distrib/initscripts/service.atalk.redhat-systemd.tmpl
contrib/systemd/ move to distrib/systemd/
[netatalk.git] / distrib / initscripts / service.atalk.redhat-systemd.tmpl
index 57316299362797a426ece99e5660fb37f18ac12d..1af8576758b732d436ac2f4c4162005cec6de6ff 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/distrib/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]