/lib/systemd/system/apt-cacher-ng.service is in apt-cacher-ng 0.7.26-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|