Mercurial > sm-archive
diff sm-archive.spec.in @ 24:7d599c9b7d65
changes for rhel7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 06 Feb 2017 11:32:18 -0800 |
parents | 37793d4c90a0 |
children | 9298f8b00db2 |
line wrap: on
line diff
--- a/sm-archive.spec.in Mon Feb 06 10:45:07 2017 -0800 +++ b/sm-archive.spec.in Mon Feb 06 11:32:18 2017 -0800 @@ -76,10 +76,10 @@ /bin/systemctl daemon-reload &>/dev/null || : %else /sbin/chkconfig --add %{name} +%endif echo Remember to edit %{_sysconfdir}/%{name}/%{name}.conf and add the following line to your sendmail.mc: echo "INPUT_MAIL_FILTER(\`sm-archive', \`S=local:/var/run/sm-archive/sm-archive.sock, F=T, T=C:30s;S:5m;R:5m;E:5m')" echo -%endif fi @@ -93,7 +93,6 @@ /sbin/service %{name} stop || : /sbin/chkconfig --del %{name} %endif -userdel %{name} || : fi