coreos-home-server/config/service/rspamd/container/run-rspamd
Alex Palaistras 3254ead3a7 Simplify systemd services, use volumes
This commit represents a large amount of work toward moving services to
a more standard approach to storing data, and a simplification in how
networks are managed.
2021-06-27 18:36:06 +01:00

9 lines
189 B
Bash
Executable File

#!/bin/sh
# Create base directories.
mkdir -m 755 -p /run/rspamd
chown -R rspamd:rspamd /run/rspamd /var/lib/rspamd
# Run rspamd in the foreground.
/usr/bin/rspamd -f -u rspamd -g rspamd