Add service file
This commit is contained in:
parent
b6921e5a56
commit
2f86169572
12
apiary.service
Normal file
12
apiary.service
Normal 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
|
Loading…
Reference in New Issue
Block a user