mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 14:36:18 +00:00
[[snapshot]]: 2021-05-16 18:06:53
Affected files: "agora service.md"
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user