ddclient/ddclient.service
Paul Howarth 8451f69a80 Fix FTBFS and various other issues
- BR: systemd-units for %{_unitdir} macro definition (fixes FTBFS #992118)
- Put tmpfiles config in %{_tmpfilesdir}, not under /etc
- Package installation creates %{_localstatedir}/run/%{name} (#909272, #957355)
- Service files are not executable
- Require perl(Digest::SHA1) (#909258)
- Wait for name resolution to be available before starting (#905553)
2013-08-10 16:21:19 +01:00

15 lines
390 B
Desktop File

[Unit]
Description=A Perl Client Used To Update Dynamic DNS
After=syslog.target network.target nss-lookup.target
[Service]
User=ddclient
Group=ddclient
Type=forking
PIDFile=/var/run/ddclient/ddclient.pid
EnvironmentFile=-/etc/sysconfig/ddclient
ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache
ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS
[Install]
WantedBy=multi-user.target