summarylogtreecommitdiffstats
path: root/service
blob: 82c2c4c6e50a0ff61803a48f8b88dceba1edfe75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=changedetection.io server
After=network.target

[Service]
User=changedetectionio
Environment="PYTHONPATH=/usr/lib/changedetection.io"
ExecStart=/usr/bin/changedetection.io -d /var/lib/changedetection.io
Restart=on-abort
# TERM seems to have no affect, SIGINT does some cleanup and doesn't serving but doesn't stop
KillSignal=SIGINT
TimeoutStopSec=2

[Install]
WantedBy=multi-user.target