From d0d627ada7ea387b2f2bf40c83a6d85b7da955a9 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Sat, 17 Aug 2019 07:10:53 +0200 Subject: [PATCH] removed apt-cache service --- .config/systemd/user/apt-cache.service | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .config/systemd/user/apt-cache.service diff --git a/.config/systemd/user/apt-cache.service b/.config/systemd/user/apt-cache.service deleted file mode 100644 index 6745704..0000000 --- a/.config/systemd/user/apt-cache.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=apt-cache -ConditionPathExists=/var/run/docker.pid -ConditionPathExists=/var/run/docker.sock -ConditionPathIsDirectory=/var/run/docker - -[Service] -TimeoutStartSec=0 -#ExecStartPre=/usr/bin/docker stop apt-cache -ExecStartPre=/usr/bin/docker pull schtobia/apt_cacher_ng -ExecStop=/usr/bin/docker stop -t 2 %n -ExecStart=/usr/bin/docker run -d --rm -p 3142:3142 --volume aptcache-cache:/var/cache/apt-cacher-ng --volume aptcache-log:/var/log/apt-cacher-ng --name %n --hostname apt-cache schtobia/apt_cacher_ng - -[Install] -WantedBy=multi-user.target -