med/django-med.service

23 lines
617 B
SYSTEMD
Raw Normal View History

2020-09-23 15:57:46 +00:00
# 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
2020-09-23 16:50:50 +00:00
Environment="PATH=/home/c/club-med/django-med/venv/bin"
2020-09-23 15:57:46 +00:00
ExecStart=/home/c/club-med/django-med/entrypoint.sh
Restart=on-failure
KillSignal=SIGQUIT
Type=notify
StandardError=syslog
NotifyAccess=all
2020-09-23 16:50:50 +00:00
StandardOutput=append:/home/c/club-med/django-med/service.log
StandardError=append:/home/c/club-med/django-med/service_error.log
2020-09-23 15:57:46 +00:00
[Install]
WantedBy=multi-user.target