summaryrefslogtreecommitdiff
path: root/weblate/systemd-nonpriv/uwsgi-weblate.service
diff options
context:
space:
mode:
Diffstat (limited to 'weblate/systemd-nonpriv/uwsgi-weblate.service')
-rw-r--r--weblate/systemd-nonpriv/uwsgi-weblate.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/weblate/systemd-nonpriv/uwsgi-weblate.service b/weblate/systemd-nonpriv/uwsgi-weblate.service
new file mode 100644
index 0000000..e04ec35
--- /dev/null
+++ b/weblate/systemd-nonpriv/uwsgi-weblate.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Weblate uWSGI Service
+After=multi-user.target
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=1
+#User=weblate
+#Group=weblate
+ExecStart=/home/weblate/weblate-env/bin/uwsgi --home=/home/weblate/weblate-env --module weblate.wsgi:application -s /home/weblate/uwsgi.sock --chmod-socket=660
+PIDFile=/home/weblate/pid/weblate-uwsgi.pid
+WorkingDirectory=/home/weblate
+LogsDirectory=logs
+
+[Install]
+WantedBy=multi-user.target