diff --git a/apiary.service b/apiary.service new file mode 100644 index 0000000..a9e41b9 --- /dev/null +++ b/apiary.service @@ -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