File: apt-cacher-ng.service.in

package info (click to toggle)
apt-cacher-ng 3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,060 kB
  • sloc: cpp: 17,108; ansic: 619; sh: 552; perl: 377; makefile: 125
file content (16 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Apt-Cacher NG software download proxy
After=network.target
RequiresMountsFor=/var/cache/apt-cacher-ng

[Service]
# the SocketPath option can be removed if the inetd bridge functionality is not needed
ExecStart=@SBINDIR@/apt-cacher-ng SocketPath=@RUNDIR@/apt-cacher-ng/socket -c @CFGDIR@ ForeGround=1
User=apt-cacher-ng
Group=apt-cacher-ng
# this can be changed to notify if the support was enabled at build time
Type=@SDTYPE@
Restart=on-failure

[Install]
WantedBy=multi-user.target