From 8dac47fb893040ba43f46ecde0fdf6bdf9912bd5 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sun, 16 May 2021 18:06:53 +0200 Subject: [PATCH] [[snapshot]]: 2021-05-16 18:06:53 Affected files: "agora service.md" --- agora service.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/agora service.md b/agora service.md index e69de29bb..8983bdd65 100644 --- a/agora service.md +++ b/agora service.md @@ -0,0 +1,18 @@ +- [[push]] [[systemd]] + +``` +agora@thecla:/etc/systemd/system# cat agora.service +[Unit] +Description=uWSGI instance to serve agora-server +After=network.target + +[Service] +User=agora +Group=agora +WorkingDirectory=/home/agora/agora-server +Environment="PATH=/home/agora/agora-server/venv/bin" +ExecStart=/home/agora/agora-server/venv/bin/uwsgi --ini prod.ini + +[Install] +WantedBy=multi-user.target +``` \ No newline at end of file