daemon: improve warning on missing SO_ACCEPTFILTER
[public-inbox.git] / examples / public-inbox-watch.service
blob0e4860f7360ec3de6884d4c24213738e51cc7195
1 # ==> /etc/systemd/system/public-inbox-watch.service <==
3 [Unit]
4 Description = public-inbox Maildir watch
5 After = spamassassin.service
7 [Service]
8 Environment = PI_CONFIG=/home/pi/.public-inbox/config \
9 PATH=/usr/local/bin:/usr/bin:/bin
10 ExecStart = /usr/local/bin/public-inbox-watch
12 ExecReload = /bin/kill -HUP $MAINPID
13 # this user must have read access to Maildirs it watches
14 User = pi
15 KillMode = process
17 [Install]
18 WantedBy = multi-user.target