Mercurial > sm-archive
annotate 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 |
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] |
24
7d599c9b7d65
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
23
diff
changeset
|
10 Type = forking |
23
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 |