mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-30 02:13:02 +00:00
23 lines
617 B
Desktop File
23 lines
617 B
Desktop File
# Copy to ~/.config/systemd/user/django-med.service then
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user start django-med.service
|
|
|
|
[Unit]
|
|
Description=Mediatek Django project
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
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
|