]> arthur.barton.de Git - netatalk.git/blob - distrib/initscripts/service.systemd.tmpl
Workaround for a problem which cannot be advertized by Avahi. Bug #541.
[netatalk.git] / distrib / initscripts / service.systemd.tmpl
1 # This file is part of netatalk :NETATALK_VERSION:.
2
3 [Unit]
4 Description=Netatalk AFP fileserver for Macintosh clients
5 Documentation=man:afp.conf(5) man:netatalk(8) man:afpd(8) man:cnid_metad(8) man:cnid_dbd(8)
6 Documentation=http://netatalk.sourceforge.net/
7 After=syslog.target network.target avahi-daemon.service
8
9 [Service]
10 Type=forking
11 GuessMainPID=no
12 ExecStart=/bin/sh -c :SBINDIR:/netatalk
13 PIDFile=:PATH_NETATALK_LOCK:
14 ExecReload=/bin/kill -HUP $MAINPID
15 Restart=always
16 RestartSec=1
17
18 [Install]
19 WantedBy=multi-user.target