diff --git a/vyos-tools.service b/vyos-tools.service new file mode 100644 index 0000000..e778995 --- /dev/null +++ b/vyos-tools.service @@ -0,0 +1,15 @@ +[Unit] +Description=Vyos tools service +After=network.target + +[Service] +ExecStart=/usr/local/bin/gunicorn -w 4 -b 0.0.0.0:5000 app:app +WorkingDirectory=/opt/vyos-tools +User={PUT-A-USER} +Restart=always +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=vyos-tools + +[Install] +WantedBy=multi-user.target \ No newline at end of file