]> arthur.barton.de Git - netatalk.git/blob - distrib/initscripts/service.atalk.systemd.tmpl
systemd: run netatalk after slpd and avahi-daemon
[netatalk.git] / distrib / initscripts / service.atalk.systemd.tmpl
1 # This file is part of netatalk :NETATALK_VERSION:.
2
3 # The method of using shell-script "netatalk.sh" is not suitable.
4 # The future service files are due to start daemons directly.
5 # See netatalk-xxx/distrib/systemd/ directory in tarball.
6
7 [Unit]
8 Description=File and Printer sharing for Macintosh clients
9 After=syslog.target network.target slpd.service avahi-daemon.service
10
11 [Service]
12 Type=oneshot
13 ExecStart=/bin/sh -c "exec :PKGLIBEXECDIR:/netatalk.sh"
14 RemainAfterExit=yes
15
16 [Install]
17 WantedBy=multi-user.target