diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-07-17 01:27:52 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-07-17 01:27:52 (GMT) |
commit | fb352e9e1b900b06be003d51ac4bf9e42245010d (patch) | |
tree | a80be2777b6ac376fd2a4bae9753be85ceef3445 /debian/rhrdtime.service | |
parent | f4ddfc122c3948ddac6c5570c44531e7c1fa0960 (diff) |
added debian packaging
Diffstat (limited to 'debian/rhrdtime.service')
-rw-r--r-- | debian/rhrdtime.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/rhrdtime.service b/debian/rhrdtime.service new file mode 100644 index 0000000..0d4658e --- /dev/null +++ b/debian/rhrdtime.service @@ -0,0 +1,18 @@ +[Unit] +Description=Radio Helsinki Rivendell Time Websocket Server + +[Service] +User=rhrdtime +Group=rhrdtime +ExecStart=/usr/bin/rhrdtime +Restart=always +RestartSec=1s +StartLimitInterval=5 +StartLimitBurst=6 +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target |