This commit is contained in:
Florent Daigniere
2022-11-21 18:12:11 +01:00
parent 44c47586ea
commit f994c8687e
2 changed files with 1 additions and 1 deletions

View File

@@ -35,4 +35,5 @@ while True:
# Run rspamd
os.system("mkdir -m 755 -p /run/rspamd")
os.system("chown rspamd:rspamd /run/rspamd")
os.system("find /var/lib/rspamd | grep -v /filter | xargs -n1 chown rspamd:rspamd")
os.execv("/usr/sbin/rspamd", ["rspamd", "-f", "-u", "rspamd", "-g", "rspamd"])