File: apt-cacher-ng.service

package info (click to toggle)
apt-cacher-ng 0.7.27-1~bpo70+1
  • links: PTS
  • area: main
  • in suites: wheezy-backports
  • size: 1,740 kB
  • sloc: cpp: 13,987; sh: 519; perl: 442; ansic: 414; makefile: 77
file content (15 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Apt-Cacher NG software download proxy
After=local-fs.target
After=network.target

[Service]
ExecStart=/usr/sbin/apt-cacher-ng SocketPath=/var/run/apt-cacher-ng/socket -c /etc/apt-cacher-ng ForeGround=1
# this ExecStopPost command can be removed together with the SocketPath option
# above if the bridge functionality is not needed
ExecStopPost=/bin/rm -f /var/run/apt-cacher-ng/*
User=apt-cacher-ng
Group=apt-cacher-ng

[Install]
WantedBy=multi-user.target