summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorCare Computers2015-06-09 00:01:47 +0200
committerCare Computers2015-06-09 00:01:47 +0200
commitd602059eb0c396934b6927bf652d6a5206f853b3 (patch)
tree47706dcd3611869bd40a32f9c2895d0dfab25a39 /install
downloadaur-d602059eb0c396934b6927bf652d6a5206f853b3.tar.gz
Initial import
Diffstat (limited to 'install')
-rw-r--r--install25
1 files changed, 25 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..902b5e7aef3e
--- /dev/null
+++ b/install
@@ -0,0 +1,25 @@
+post_install()
+{
+ chown mail:mail "$pkgdir"/var/lib/CommuniGate/Helpers/cgpav
+ chmod 2550 "$pkgdir"/var/CommuniGate/Helpers/cgpav
+ chown mail:mail "$pkgdir"/var/lib/CommuniGate/Settings/cgpav.conf
+ chmod 2660 "$pkgdir"/var/CommuniGate/Settings/cgpav.conf
+
+ cat <<- EOF
+
+ ==> Before starting Spamassassin and ClamAV please run the following commands
+ # sa-update
+ # freshclam
+ ==> Start Spamassassin and ClamAV using systemd
+ # systemctl start cgpav-spamassassin
+ # systemctl start clamd
+ # systemctl start freshclamd
+ ==> Auto-start Spamassassin and ClamAV using systemd
+ # systemctl enable cpgav-spamassassin
+ # systemctl enable clamd
+ # systemctl enable freshclamd
+ Setup:
+ ==> For setting up the helper in Communigate Pro please visit http://program.farit.ru/doc/cgpav.html
+EOF
+}
+