Browse Source

Purge tmp folder at stop

Julien VAUBOURG 10 years ago
parent
commit
4dbef6383e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      conf/init_ynh-piratebox

+ 2 - 0
conf/init_ynh-piratebox

@@ -218,6 +218,8 @@ case "$1" in
       echo "Stop fakedns"
       stop_fakedns
     fi
+
+    rm -rf /var/spool/piratebox/*
   ;;
   restart)
     $0 stop