comparison 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
comparison
equal deleted inserted replaced
26:ee5a5a7a9f72 27:75563016f269
1 [Unit]
2 Description=Feed Push daemon
3 After=network.target
4
5 [Service]
6 Type=forking
7 PIDFile=/run/feed-push.pid
8 ExecStart=/usr/bin/feed-push /etc/feed-push /var/lib/feed-push/state --fork /run/feed-push.pid
9 ExecStop=/bin/rm /run/feed-push.pid
10
11 [Install]
12 WantedBy=multi-user.target