add config option socket, rework example config and release 1.0.0

This commit is contained in:
2020-04-22 23:02:05 +02:00
parent 2d73d525b8
commit 01b516ce7c
6 changed files with 51 additions and 44 deletions

View File

@@ -1,12 +1,11 @@
#!/sbin/openrc-run
user=${USER:-daemon}
socket="${SOCKET:-}"
milter_opts="${MILTER_OPTS:-}"
pidfile="/run/${RC_SVCNAME}.pid"
command="/usr/bin/pymodmilter"
command_args="-s ${socket} ${milter_opts}"
command_args="${milter_opts}"
command_background=true
start_stop_daemon_args="--user ${user}"