diff --git a/beretta.service b/beretta.service new file mode 100644 index 0000000..85420f1 --- /dev/null +++ b/beretta.service @@ -0,0 +1,14 @@ +[Unit] +Description=Beretta Service +After=network.target + +[Service] +Type=simple +ExecStart=/usr/local/bin/beretta +Restart=on-failure +RestartSec=5 +User=beretta +WorkingDirectory=/usr/local/bin + +[Install] +WantedBy=multi-user.target