view init/feed-push.service @ 34:030e8b24f8b7 draft default tip master

pretty print JSON in state file Signed-off-by: Changaco <changaco ατ changaco δοτ net>
author Changaco <changaco ατ changaco δοτ net>
date Sun, 05 Aug 2012 15:18:28 +0200
parents 75563016f269
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