Mercurial > sm-archive
view sm-archive.service.rc @ 25:a2d60f43590b stable-1-0-9
changes for rhel7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 06 Feb 2017 11:34:51 -0800 |
parents | 7d599c9b7d65 |
children |
line wrap: on
line source
[Unit] Description = Mail filter for Archiving Wants = sendmail.service After = syslog.target After = local-fs.target After = network.target Before = sendmail.service [Service] Type = forking UMask = 0022 User = sm-archive WorkingDirectory = SYSCONFDIR/sm-archive ExecStart = SBINDIR/smarchive -d 10 -p local:/var/run/sm-archive/sm-archive.sock [Install] WantedBy = multi-user.target