diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-18 21:33:55 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-18 21:33:55 +0100 |
commit | 33f310f3e84ea69dddf52c06ec85ff9607a9b10b (patch) | |
tree | 792586ec7223690fd217de499bc93891f0253d2c | |
parent | Add finallib targets for ebuild and build p2comp by default (diff) | |
download | p2pvr-33f310f3e84ea69dddf52c06ec85ff9607a9b10b.tar.bz2 p2pvr-33f310f3e84ea69dddf52c06ec85ff9607a9b10b.tar.xz p2pvr-33f310f3e84ea69dddf52c06ec85ff9607a9b10b.zip |
Add systemd servicesp2pvr-0.1.0
-rw-r--r-- | p2pvr/etc/systemd/p2pvrcardd.service | 16 | ||||
-rw-r--r-- | p2pvr/etc/systemd/p2pvrd.service | 17 |
2 files changed, 33 insertions, 0 deletions
diff --git a/p2pvr/etc/systemd/p2pvrcardd.service b/p2pvr/etc/systemd/p2pvrcardd.service new file mode 100644 index 0000000..4ac9088 --- /dev/null +++ b/p2pvr/etc/systemd/p2pvrcardd.service @@ -0,0 +1,16 @@ +[Unit] +Description=Project2 PVR Card Daemon + +[Service] +User=p2pvr +Group=video +Type=simple +StandardOutput=journal +StandardError=journal +Restart=always +StartLimitInterval=10 +StartLimitBurst=5 +ExecStart=/usr/bin/p2daemon --library libp2pvrcarddaemon.so --daemon.type p2pvrcarddaemon --file.options.read /etc/p2pvr/p2config + +[Install] +WantedBy=multi-user.target diff --git a/p2pvr/etc/systemd/p2pvrd.service b/p2pvr/etc/systemd/p2pvrd.service new file mode 100644 index 0000000..d42aff9 --- /dev/null +++ b/p2pvr/etc/systemd/p2pvrd.service @@ -0,0 +1,17 @@ +[Unit] +Description=Project2 PVR Daemon +After=postgresql-9.4.service + +[Service] +User=p2pvr +Group=video +Type=simple +StandardOutput=journal +StandardError=journal +Restart=always +StartLimitInterval=10 +StartLimitBurst=5 +ExecStart=/usr/bin/p2daemon --library libp2pvrdaemon.so --daemon.type p2pvrdaemon --file.options.read /etc/p2pvr/p2config + +[Install] +WantedBy=multi-user.target |