diff options
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 |