Last change
on this file since 2114 was
2114,
checked in by achernya, 13 years ago
|
Make whoisd (hopefully) more reliable
whoisd was systemd-ified for F15, replacing the cron-based @reboot
startup. Unfortunately, this made whoisd prone to failing to start, as
the dependencies were not correctly stated. This adds dirsrv as a
dependency, as it was implicitly in the cron-based system.
Additionally, prevent twistd from making a /twistd.pid by specifying
the path that was used from the cron-start era. The --pidfile was
removed as it was not needed by systemd, which uses cgroups to manage
processes. Unfortunately, twistd insists on pidfiles, so this prevents
twistd from polluting /.
|
File size:
268 bytes
|
Rev | Line | |
---|
[1965] | 1 | [Unit] |
---|
| 2 | Description=Scripts whois Service |
---|
[2114] | 3 | After=syslog.target dirsrv.service |
---|
[1965] | 4 | |
---|
| 5 | [Service] |
---|
| 6 | Type=simple |
---|
[2114] | 7 | ExecStart=/usr/bin/twistd --nodaemon -l /var/log/scripts-whoisd.log --pidfile /var/run/whoisd.pid -y /usr/local/libexec/whoisd.tac |
---|
[1965] | 8 | |
---|
| 9 | [Install] |
---|
| 10 | WantedBy=multi-user.target |
---|
Note: See
TracBrowser
for help on using the repository browser.