summarylogtreecommitdiffstats
path: root/clamd.install
diff options
context:
space:
mode:
authorPSposito2020-03-18 05:12:36 +0200
committerPSposito2020-03-18 05:12:36 +0200
commit3a356c051048e3412d7bd94da7da07a5f18d3bd2 (patch)
treeac31faec78413dae4f7d9b47db02453e900e5c20 /clamd.install
downloadaur-3a356c051048e3412d7bd94da7da07a5f18d3bd2.tar.gz
Release
Diffstat (limited to 'clamd.install')
-rw-r--r--clamd.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/clamd.install b/clamd.install
new file mode 100644
index 000000000000..aaf71533d324
--- /dev/null
+++ b/clamd.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo " ==> Add Clamav Daemon to system startup wtih 'rc-update add clamd default'"
+ echo " ==> Start ClamAv Daemon now with 'rc-service clamd start'"
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ echo " ==> Make sure to 'rc-update del clamd default'"
+}