]> Sergey Matveev's repositories - public-inbox.git/blob - examples/public-inbox-watch.service
cleanup: use '$ibx' consistently when referring to Inbox refs
[public-inbox.git] / examples / public-inbox-watch.service
1 # ==> /etc/systemd/system/public-inbox-watch.service <==
2
3 [Unit]
4 Description = public-inbox Maildir watch
5 After = spamassassin.service
6
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
11
12 StandardOutput = syslog
13 StandardError = syslog
14 ExecReload = /bin/kill -HUP $MAINPID
15 # this user must have read access to Maildirs it watches
16 User = pi
17 KillMode = process
18
19 [Install]
20 WantedBy = multi-user.target