Mercurial > feed-push
annotate 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 |
rev | line source |
---|---|
27
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
1 [Unit] |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
2 Description=Feed Push daemon |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
3 After=network.target |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
4 |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
5 [Service] |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
6 Type=forking |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
7 PIDFile=/run/feed-push.pid |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
8 ExecStart=/usr/bin/feed-push /etc/feed-push /var/lib/feed-push/state --fork /run/feed-push.pid |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
9 ExecStop=/bin/rm /run/feed-push.pid |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
10 |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
11 [Install] |
75563016f269
add systemd .service unit
Changaco <changaco ατ changaco δοτ net>
parents:
diff
changeset
|
12 WantedBy=multi-user.target |