Rspamd executable was moved to /usr/bin

(cherry picked from commit 096c0be4f7)
This commit is contained in:
Dimitri Huisman
2023-10-05 18:41:54 +00:00
committed by Florent Daigniere
parent b275aa019d
commit a84ef1d6aa

View File

@@ -38,4 +38,4 @@ while True:
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"])
os.execv("/usr/bin/rspamd", ["rspamd", "-f", "-u", "rspamd", "-g", "rspamd"])