bundlewrap/bundles/simple-icinga-dashboard/files/simple-icinga-dashboard.service
Franziska Kunsmann dca56140aa
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/simple-icinga-dashboard: use systemd-timers, use virtualenv
2021-04-11 11:17:09 +02:00

10 lines
375 B
Desktop File

[Unit]
Description=simple-icinga-dashboard
After=network.target
[Service]
User=icinga_dashboard
WorkingDirectory=/opt/simple-icinga-dashboard/src
Environment=VIRTUAL_ENV=/opt/simple-icinga-dashboard/venv
Environment=STATUSPAGE_CONFIG=/opt/simple-icinga-dashboard/config.toml
ExecStart=/opt/simple-icinga-dashboard/venv/bin/python /opt/simple-icinga-dashboard/src/service.py