Am 04.11.2012 19:26, schrieb Brown:
And there's the creation of the pid file directories for both
named and ddclient
that seem to disappear every time I reboot, also seems like a bug somewhere
man tmpfiles.d
BTW:
all these packages should be fixed a long time ago
nearly no service needs a pid-file, systemd knows the pid
if i have any problem with such services the first is to clone
them under /etc/systemd/system and remove any pid-crap
so far this fixed every problem in this context
____________________________________
[root@srv-rhsoft:~]$ cat /etc/systemd/system/named.service
[Unit]
Description=DNS Server
After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/named -u named -t /var/named/chroot
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
PrivateTmp=true
TimeoutSec=25
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target