diff options
Diffstat (limited to 'src/pmwebapi/pmwebd.service.in')
-rw-r--r-- | src/pmwebapi/pmwebd.service.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pmwebapi/pmwebd.service.in b/src/pmwebapi/pmwebd.service.in new file mode 100644 index 0000000..d1b0ba5 --- /dev/null +++ b/src/pmwebapi/pmwebd.service.in @@ -0,0 +1,14 @@ +[Unit] +Description=Performance Metrics Web Daemon +Documentation=man:pmwebd(8) +Wants=avahi-daemon.service +After=network.target avahi-daemon.service + +[Service] +Type=oneshot +ExecStart=@path@/pmwebd start +ExecStop=@path@/pmwebd stop +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target |