Well, -i stands for --insecure

main
Florent Daigniere 2 years ago
parent 3b5b00d87d
commit e3b875aa6b

@ -33,4 +33,6 @@ while True:
log.warning("Admin is not up just yet, retrying in 1 second") log.warning("Admin is not up just yet, retrying in 1 second")
# Run rspamd # Run rspamd
os.execv("/usr/sbin/rspamd", ["rspamd", "-i", "-f"]) os.system("mkdir -m 755 -p /run/rspamd")
os.system("chown rspamd:rspamd /run/rspamd")
os.execv("/usr/sbin/rspamd", ["rspamd", "-f", "-u", "rspamd", "-g", "rspamd"])

Loading…
Cancel
Save