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