[systemd-devel] [Netatalk-admins] netatalk: afpd/cnid service

HAT hat at fa2.so-net.ne.jp
Sat Oct 22 08:36:09 PDT 2011


Hi,

It seems satisfactory if "GuessMainPID=no" is used.
Are there any problems?

# Environment variable has not been considered yet.

- netatalk-cnid_metad.service -------------------------------------
[Unit]
Description=Netatalk CNID database daemon for afpd
After=syslog.target network.target

[Service]
Type=forking
GuessMainPID=no
PIDFile=/var/lock/cnid_metad
ExecStart=/usr/sbin/cnid_metad
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target

- netatalk-afpd.service -------------------------------------------
[Unit]
Description=Netatalk AFP fileserver for Macintosh clients
After=syslog.target network.target slpd.service avahi-daemon.service
RequiresOverridable=netatalk-cnid_metad.service

[Service]
Type=forking
GuessMainPID=no
PIDFile=/var/lock/afpd
ExecStart=/usr/sbin/afpd
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target

-------------------------------------------------------------------

-- 
HAT


More information about the systemd-devel mailing list