aboutsummaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system/keepalive.service
blob: 8b317753db8f7e09a666e929c0f7f71ab1b0268a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File: /usr/lib/systemd/system/keepalive.service
#       when enabled, /etc/systemd/system/keepalive.service
# bgstack15@gmail.com 2016-07-22
# Part of a keepalive package that might become a puppet module
[Unit]
Description=keepalive
DefaultDependencies=no
Requires=network.target sssd.service
After=network.target sssd.service

ConditionPathExists=/etc/krb5.keytab
ConditionPathExists=/usr/bin/keepalive

[Service]
Type=simple
User=root
ExecStart=/usr/share/keepalive/keepalive
Restart=on-abort
StandardOutput=syslog
StandardError=syslog
ExecStopPost=/usr/share/keepalive/keepalive --clean

[Install]
WantedBy=multi-user.target
bgstack15