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