From 3628f53514ddae7f4a44a6550378567c93fbc237 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 20 May 2024 20:17:57 +0200 Subject: add SystemD service unit file --- map.node5.net.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 map.node5.net.service diff --git a/map.node5.net.service b/map.node5.net.service new file mode 100644 index 0000000..dcca95c --- /dev/null +++ b/map.node5.net.service @@ -0,0 +1,13 @@ +[Unit] +Description=uWSGI instance to serve map.node5.net +After=network.target + +[Service] +User=map +Group=www-data +WorkingDirectory=/opt/map +Environment="PATH=/opt/map/venv/bin" +ExecStart=/opt/map/venv/bin/uwsgi --ini uwsgi.ini + +[Install] +WantedBy=multi-user.target \ No newline at end of file -- cgit v1.2.3