/lib/systemd/system/apt-cacher-ng.service is in apt-cacher-ng 3.1-1build1.
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 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=/usr/sbin/apt-cacher-ng SocketPath=/run/apt-cacher-ng/socket -c /etc/apt-cacher-ng 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=notify
Restart=on-failure
[Install]
WantedBy=multi-user.target
|