comparison 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
comparison
equal deleted inserted replaced
22:67481a1a502f 23:37793d4c90a0
1 [Unit]
2 Description = Mail filter for Archiving
3 Wants = sendmail.service
4 After = syslog.target
5 After = local-fs.target
6 After = network.target
7 Before = sendmail.service
8
9 [Service]
10 Type = simple
11 UMask = 0022
12 User = sm-archive
13 WorkingDirectory = SYSCONFDIR/sm-archive
14 ExecStart = SBINDIR/smarchive -d 10 -p local:/var/run/sm-archive/sm-archive.sock
15
16 [Install]
17 WantedBy = multi-user.target