diff options
author | B Stack <bgstack15@gmail.com> | 2016-10-27 09:57:35 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2016-10-27 09:57:35 -0400 |
commit | b37d1fa1f1deda881eef751358917c29f38871b8 (patch) | |
tree | 9ce4a391f1ace15689fa55b8f321ec20cfc722cf /usr | |
download | keepalive-b37d1fa1f1deda881eef751358917c29f38871b8.tar.gz keepalive-b37d1fa1f1deda881eef751358917c29f38871b8.tar.bz2 keepalive-b37d1fa1f1deda881eef751358917c29f38871b8.zip |
Added to git
Diffstat (limited to 'usr')
l--------- | usr/bin/keepalive | 1 | ||||
-rw-r--r-- | usr/lib/systemd/system/keepalive.service | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/usr/bin/keepalive b/usr/bin/keepalive new file mode 120000 index 0000000..cd303b0 --- /dev/null +++ b/usr/bin/keepalive @@ -0,0 +1 @@ +/etc/keepalive/bin/keepalive
\ No newline at end of file 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 |