summaryrefslogtreecommitdiff
path: root/debian/rhrdtime.service
blob: bfffdee3c72dda71a5582b415d858bbbdf6e8ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Radio Helsinki Rivendell Time Websocket Server

[Service]
User=rhrdtime
Group=rhrdtime
Environment="MARTINI_ENV=production"
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