- 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)
15 lines
390 B
Desktop File
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
|