Mercurial > feed-push
view init/feed-push.service @ 27:75563016f269 draft
add systemd .service unit
Signed-off-by: Changaco <changaco ατ changaco δοτ net>
author | Changaco <changaco ατ changaco δοτ net> |
---|---|
date | Sat, 04 Aug 2012 18:33:17 +0200 |
parents | |
children |
line wrap: on
line source
[Unit] Description=Feed Push daemon After=network.target [Service] Type=forking PIDFile=/run/feed-push.pid ExecStart=/usr/bin/feed-push /etc/feed-push /var/lib/feed-push/state --fork /run/feed-push.pid ExecStop=/bin/rm /run/feed-push.pid [Install] WantedBy=multi-user.target