summaryrefslogtreecommitdiff
path: root/indiserver.service
blob: 8d862333a4b0621c34f2eed5ccd6941bd29ff12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# systemd unit file for INDI server

[Unit]
Description=server for local and remote INDI drivers
Wants=network.target
After=syslog.target network-online.target

[Service]
Type=simple
Restart=on-failure
RestartSec=30
User=indi
Group=indi

PrivateUsers=true
ProtectSystem=false
ProtectHome=false
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true

WorkingDirectory=/home/indi
ExecStart=/usr/bin/indiserver_systemd

[Install]
WantedBy=multi-user.target