annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 [Unit]
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 Description = Mail filter for Archiving
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 Wants = sendmail.service
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 After = syslog.target
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 After = local-fs.target
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 After = network.target
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 Before = sendmail.service
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 [Service]
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 Type = simple
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 UMask = 0022
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 User = sm-archive
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 WorkingDirectory = SYSCONFDIR/sm-archive
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 ExecStart = SBINDIR/smarchive -d 10 -p local:/var/run/sm-archive/sm-archive.sock
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 [Install]
37793d4c90a0 changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 WantedBy = multi-user.target