summarylogtreecommitdiffstats
path: root/hornet.service
blob: 8c2272f92b1473facc256f41ef3d118009527f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Hornet
Wants=network-online.target
After=network-online.target

[Service]
LimitNOFILE=4096
SyslogIdentifier=hornet
PrivateDevices=yes
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes

User=hornet
WorkingDirectory=/var/lib/hornet
TimeoutSec=1200
Restart=always
ExecStart=/usr/bin/hornet -c "/etc/hornet/config.json"

[Install]
WantedBy=multi-user.target