Compare commits
2 Commits
42bcd4bbe7
...
0e8af53767
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e8af53767 | |||
| f7508c5f0a |
15
systemd/system/byceps-worker.service
Normal file
15
systemd/system/byceps-worker.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Byceps worker for %i site
|
||||
After=network-online.target
|
||||
Requires=postgresql.service
|
||||
After=postgresql.service
|
||||
|
||||
[Service]
|
||||
User="USER"
|
||||
Group="GROUP"
|
||||
Type=simple
|
||||
WorkingDirectory=/srv/byceps
|
||||
ExecStart=/bin/sh -c ". venv/bin/activate; export BYCEPS_CONFIG=/srv/byceps/config/%i_config.py; exec ./worker.py >> /var/log/byceps/worker.log"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
x
Reference in New Issue
Block a user