From da2fbf6bbc4da39172b94e1862aa7d448ed55586 Mon Sep 17 00:00:00 2001 From: Blackwhitebear8 Date: Sun, 22 Jun 2025 16:39:41 +0200 Subject: [PATCH] changes --- router-tools.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 router-tools.service diff --git a/router-tools.service b/router-tools.service new file mode 100644 index 0000000..fe9ca66 --- /dev/null +++ b/router-tools.service @@ -0,0 +1,15 @@ +[Unit] +Description=Router tools service +After=network.target + +[Service] +ExecStart=/usr/local/bin/gunicorn -w 4 -b 0.0.0.0:5000 app:app +WorkingDirectory=/opt/Router-tools +User=root +Restart=always +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=router-tools + +[Install] +WantedBy=multi-user.target \ No newline at end of file