ré-organisation des fichiers et ajout du script de création du paquet debian

This commit is contained in:
Vincent BENOIT
2022-11-22 11:33:13 +01:00
parent b1e0925ce8
commit 739f752c4e
21 changed files with 60 additions and 14 deletions
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# this cronjob persists removals (but not purges)
if [ ! -x /usr/sbin/logrotate ]; then
exit 0
fi
/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit $EXITVALUE