[Unit]
Description=Apt-Cacher NG software download proxy
After=network.target

[Service]
# the SocketPath option can be removed if the inetd bridge functionality is not needed
ExecStart=/usr/sbin/apt-cacher-ng SocketPath=/var/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=simple
Restart=on-failure

[Install]
WantedBy=multi-user.target
