Add service file

This commit is contained in:
Torjus Håkestad 2021-04-10 09:25:36 +02:00
parent b6921e5a56
commit 2f86169572

12
apiary.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Apiary SSH Honeypot
After=postgresql.service
[Service]
User=apiary
ExecStart=/usr/bin/apiary serve
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target