view sm-archive.service.rc @ 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
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