summarylogtreecommitdiffstats
path: root/hornet.service
diff options
context:
space:
mode:
Diffstat (limited to 'hornet.service')
-rw-r--r--hornet.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/hornet.service b/hornet.service
new file mode 100644
index 000000000000..2e0eb65dae16
--- /dev/null
+++ b/hornet.service
@@ -0,0 +1,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 -d "/etc/hornet"
+
+[Install]
+WantedBy=multi-user.target