Last active
November 3, 2023 03:59
-
-
Save elyscape/7e8c1ea7ae186fd780c59e8cbf87181d to your computer and use it in GitHub Desktop.
Revisions
-
elyscape revised this gist
Nov 3, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,6 @@ Requisite=network.target network-online.target [Service] Type=oneshot EnvironmentFile=/etc/default/heartbeat ExecStart=/usr/bin/curl -fsS -m 10 --retry 3 ${ENDPOINT} StandardOutput=null DynamicUser=true -
elyscape revised this gist
Nov 3, 2023 . 2 changed files with 4 additions and 2 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ [Unit] Description=Heartbeat After=network.target network-online.target Requisite=network.target network-online.target [Service] Type=oneshot EnvironmentFile=/etc/default/heartbeat ExecStart=/usr/bin/curl -fsS --retry 3 ${ENDPOINT} StandardOutput=null DynamicUser=true -
elyscape revised this gist
Jan 3, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,6 @@ Description=Heartbeat [Service] Type=oneshot EnvironmentFile=/etc/heartbeat.conf ExecStart=/usr/bin/curl -fsS --retry 3 ${ENDPOINT} StandardOutput=null User=nobody -
elyscape revised this gist
Jan 3, 2018 . No changes.There are no files selected for viewing
-
elyscape created this gist
Jan 3, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ ENDPOINT=https://whatever This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ [Unit] Description=Heartbeat [Service] Type=oneshot EnvironmentFile=/etc/heartbeat.conf ExecStart=/bin/curl -fsS --retry 3 ${ENDPOINT} StandardOutput=null User=nobody This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ [Unit] Description=Send heartbeat every 5 minutes [Timer] OnCalendar=*-*-* *:00/5:00 Persistent=true [Install] WantedBy=timers.target