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