debian/a2d.service
raw| 1 | [Unit] |
| 2 | Description=APRS to DAPNET portal |
| 3 | Documentation=file:/usr/share/doc/a2d/system-service-doc.txt |
| 4 | Wants=network-online.target |
| 5 | After=network-online.target |
| 6 | |
| 7 | [Service] |
| 8 | Type=simple |
| 9 | WorkingDirectory=/usr/lib/python3/dist-packages/a2d |
| 10 | ExecStart=/usr/bin/python3 -m gunicorn app:app -c /usr/lib/python3/dist-packages/a2d/gunicorn_config.py |
| 11 | |
| 12 | Restart=always |
| 13 | ExecReload=/bin/kill -HUP $MAINPID |
| 14 | ProtectHome=true |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |