summarylogtreecommitdiffstats
path: root/cpcache.service
blob: 72fb017cfe6c213c98821284791077ad13f2d03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=central pacman cache
After=network.target

[Service]
Type=simple
# Shutdown can be somewhat sluggish on low-end devices like the RPi.
TimeoutSec=90
SuccessExitStatus=143
User=cpcache
Group=cpcache
Environment="ELIXIR_ERL_OPTIONS=-sname cpcache"
ExecStart=/usr/share/cpcache/bin/cpcache foreground
ExecStop=/usr/share/cpcache/bin/cpcache stop

[Install]
WantedBy=multi-user.target