mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-29 19:51:08 +02:00
Fix systemd service unit
This commit is contained in:
committed by
club-med
parent
df1a1cb5de
commit
d1e9693647
@ -7,14 +7,16 @@ Description=Mediatek Django project
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
User=club-med
|
||||
WorkingDirectory=/home/c/club-med/django-med
|
||||
Environment="PATH=/home/c/club-med/django-med/venv/bin"
|
||||
ExecStart=/home/c/club-med/django-med/entrypoint.sh
|
||||
Restart=on-failure
|
||||
KillSignal=SIGQUIT
|
||||
Type=notify
|
||||
StandardError=syslog
|
||||
NotifyAccess=all
|
||||
StandardOutput=append:/home/c/club-med/django-med/service.log
|
||||
StandardError=append:/home/c/club-med/django-med/service_error.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user