[systemd-devel] Service unit file submission: fcron.service

Andrey Borzenkov arvidjaar at mail.ru
Tue Mar 1 10:58:36 PST 2011


On Tue, Mar 1, 2011 at 9:26 PM, Pablo Hess <natunobilis at gentoobr.org> wrote:
> Hey, I'd like to contribute this service file I've created for the fcron
> cron-like daemon.
>
> I looked for something similar but found nothing so far.
>
>
>
> [Unit]
> Description=fcron Cron Daemon
> Wants=syslog.target

Does it really need to start syslog? May be it should rather be
After=syslog.target?

>
> [Service]
> Type=forking
> ExecStart=/usr/sbin/fcron
> ExecReload=/bin/kill -USR1 $MAINPID
> ExecStop=/bin/kill -TERM $MAINPID
> PIDFile=/var/run/fcron.pid
> Restart=always
>
> [Install]
> WantedBy=multi-user.target
>

This should actually be submitted to fcron developers for inclusion
upstream. It is really impossible for systemd to provide all possible
units for all possible software out there.


More information about the systemd-devel mailing list