summarylogtreecommitdiffstats
path: root/hornet.service
blob: d10bb75d377e2855cd711a160147f7f9f3cb997c (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 --config "/etc/hornet/config.json" --peering "/etc/hornet/peering.json" --profiles "/etc/hornet/profiles.json"

[Install]
WantedBy=multi-user.target