diff options
Diffstat (limited to 'rescached-git.install')
-rw-r--r-- | rescached-git.install | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/rescached-git.install b/rescached-git.install index e932c8877999..e546834c8226 100644 --- a/rescached-git.install +++ b/rescached-git.install @@ -1,14 +1,6 @@ post_upgrade() { - ## Remove old ads file - [[ -f /etc/rescached/hosts.ads ]] \ - && rm -f /etc/rescached/hosts.ads - - ## Fix wrong systemd service - [[ -f /etc/systemd/system/rescached.service ]] \ - && rm -f /etc/systemd/system/rescached.service - - systemctl daemon-reload - - echo ':: rescached service now installed in /usr/lib/systemd/system' - echo ':: Please reenable the service if you want to start it at boot' + ## Remove old config + [[ -f /etc/rescached/rescached.cfg ]] && rm -f /etc/rescached/rescached.cfg + ## Remove old cache + [[ -f /var/cache/rescached/rescached.vos ]] && rm -f /var/cache/rescached/rescached.vos } |