[Unit]
Description=milter-manager server daemon
After=network-online.target

[Service]
Type=forking
PIDFile=/var/run/milter-manager/milter-manager.pid
EnvironmentFile=-/etc/sysconfig/milter-manager
User=root
Group=root
ExecStartPre=/usr/bin/install -d /var/run/milter-manager -o ${USER} -g ${GROUP}
ExecStart=/usr/sbin/milter-manager --daemon --pid-file "/var/run/milter-manager/milter-manager.pid" --connection-spec ${CONNECTION_SPEC} --user-name ${USER} --group-name ${GROUP} --unix-socket-group ${SOCKET_GROUP} ${OPTION_ARGS}
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
