diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-12-13 13:19:57 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-12-13 13:19:57 +0100 |
commit | d2e519f904422923b5575823836a25eb0249e6fb (patch) | |
tree | 37d9834b7e8e56c573865a935c87999c3bd884c0 /apt | |
parent | 346131f241f01b7dccc12d6e1bb58320e708eee8 (diff) |
Add APT config snippet for Samhain post-update.
Diffstat (limited to 'apt')
-rw-r--r-- | apt/apt.conf.d/99-local-samhain | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apt/apt.conf.d/99-local-samhain b/apt/apt.conf.d/99-local-samhain new file mode 100644 index 0000000..f17ae3d --- /dev/null +++ b/apt/apt.conf.d/99-local-samhain @@ -0,0 +1,10 @@ +// WARNING: this is INSECURE!! + +DPkg { + Post-Invoke { + "echo Updating samhain database"; + "/etc/init.d/samhain stop"; + "/usr/sbin/samhain -t update --foreground -m none"; + "/etc/init.d/samhain start"; + }; +}; |