Fedora 18 Upgrade Experience
Reindl Harald
h.reindl at thelounge.net
Sun Nov 4 18:36:20 UTC 2012
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20121104/c6c28127/attachment.sig>
More information about the devel
mailing list