aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/spamd.xml')
-rw-r--r--packages/spamd.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index f34502e7..7fc2bf17 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -149,8 +149,8 @@
fwrite($fd, "/usr/local/sbin/spamd-setup &\n");
fwrite($fd, "/usr/local/libexec/spamlogd &\n");
fclose($fd);
- system("chmod a+x /usr/local/etc/rc.d/spamd 2>/dev/null");
- system("/usr/local/etc/rc.d/spamd 2>/dev/null");
+ chmod("/usr/local/etc/rc.d/spamd", 0755);
+ mwexec("/usr/local/etc/rc.d/spamd");
</custom_php_install_command>
<custom_php_deinstall_command>
unlink_if_exists("/usr/local/pkg/spamd*");