1
0
forked from brl/citadel
citadel/realmfs-builder/realmfs-files/realm-apt-cacher-ng.service

16 lines
382 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Apt-Cacher NG software download proxy
After=network.target
ConditionPathExists=/usr/share/apt-cacher-ng/conf
[Service]
ExecStart=/usr/sbin/apt-cacher-ng -c /usr/share/apt-cacher-ng/conf ForeGround=1
User=1000
Group=1000
# this can be changed to notify if the support was enabled at build time
Type=notify
Restart=on-failure
[Install]
WantedBy=multi-user.target