]> git.zerfleddert.de Git - hmcfgusb/commitdiff
Add logrotate.d script
authorJSurf <jsurf@gmx.de>
Wed, 25 Jun 2014 08:40:25 +0000 (10:40 +0200)
committerJSurf <jsurf@gmx.de>
Wed, 25 Jun 2014 08:40:25 +0000 (10:40 +0200)
debian/changelog
debian/hmland.logrotate [new file with mode: 0644]
debian/rules

index d1a6d51e91c7860ba5513d9f51ccd71e070af028..d855e9e87a7425f767430e9b3b8ba2c0bdfa1cb5 100644 (file)
@@ -1,3 +1,9 @@
+hmcfgusb (0.097-2) unstable; urgency=low
+
+  * Add logrotate script
+
+ -- JSurf <jsurf@gmx.de>  Wed, 25 Jun 2014 10:37:00 +0200
+
 hmcfgusb (0.097-1) unstable; urgency=low
 
   * Initial release
 hmcfgusb (0.097-1) unstable; urgency=low
 
   * Initial release
diff --git a/debian/hmland.logrotate b/debian/hmland.logrotate
new file mode 100644 (file)
index 0000000..b770e98
--- /dev/null
@@ -0,0 +1,9 @@
+/var/log/hmland.log {
+     rotate 12
+     weekly
+     compress
+     missingok
+     postrotate
+         /etc/init.d/hmland restart
+     endscript
+}
\ No newline at end of file
index 4d5943c36a31590f6111f2f8582e60129e4e5cd4..ced4c98876cc710d72f3b4f032f3a4916dca58e4 100755 (executable)
@@ -13,4 +13,6 @@
        dh $@ 
 
 override_dh_installinit:
        dh $@ 
 
 override_dh_installinit:
-       dh_installinit --name=hmland
\ No newline at end of file
+       dh_installinit --name=hmland
+override_dh_installlogrotate:
+       dh_installlogrotate --name=hmland
Impressum, Datenschutz