view sm-archive.service.rc @ 23:37793d4c90a0

changes for rhel7 systemd and /var/run on tmpfs
author Carl Byington <carl@five-ten-sg.com>
date Mon, 06 Feb 2017 10:45:07 -0800
parents
children 7d599c9b7d65
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 = simple
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