X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=distrib%2Finitscripts%2Fservice.atalk.redhat-systemd.tmpl;h=87cdf3833d37544c04b34a7afdce86f792e06dff;hb=865e4844985b0af1595149af1aa0bf1051796a8d;hp=57316299362797a426ece99e5660fb37f18ac12d;hpb=8ba2fce04e6a86ec350b7e083745fdc1d7f1dcdf;p=netatalk.git diff --git a/distrib/initscripts/service.atalk.redhat-systemd.tmpl b/distrib/initscripts/service.atalk.redhat-systemd.tmpl index 57316299..87cdf383 100644 --- a/distrib/initscripts/service.atalk.redhat-systemd.tmpl +++ b/distrib/initscripts/service.atalk.redhat-systemd.tmpl @@ -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]