File: a2d.service

package info (click to toggle)
a2d 2.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,088 kB
  • sloc: javascript: 4,806; python: 1,873; xml: 49; sh: 44; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 442 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=APRS to DAPNET portal
Documentation=file:/usr/share/doc/a2d/system-service-doc.txt
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
WorkingDirectory=/usr/lib/python3/dist-packages/a2d
ExecStart=/usr/bin/python3 -m gunicorn app:app -c /usr/lib/python3/dist-packages/a2d/gunicorn_config.py

Restart=always
ExecReload=/bin/kill -HUP $MAINPID
ProtectHome=true

[Install]
WantedBy=multi-user.target