diff options
Diffstat (limited to 'usr/lib/systemd/system')
-rw-r--r-- | usr/lib/systemd/system/keepalive.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/keepalive.service b/usr/lib/systemd/system/keepalive.service new file mode 100644 index 0000000..117dbd5 --- /dev/null +++ b/usr/lib/systemd/system/keepalive.service @@ -0,0 +1,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=/etc/keepalive/bin/keepalive +Restart=on-abort +StandardOutput=syslog +StandardError=syslog +ExecStopPost=/etc/keepalive/bin/keepalive --clean + +[Install] +WantedBy=multi-user.target |