On Tue, Mar 1, 2011 at 9:26 PM, Pablo Hess <natunobi...@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.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to