From a5bd1b9ea5ff9a7be2790227392986ffebbc076d Mon Sep 17 00:00:00 2001 From: I AM ROOT Date: Sat, 8 Feb 2020 00:09:55 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=E2=80=9Edeploy-script.sh=E2=80=9C=20hinzuf?= =?UTF-8?q?=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-script.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 deploy-script.sh diff --git a/deploy-script.sh b/deploy-script.sh new file mode 100644 index 0000000..2ebc739 --- /dev/null +++ b/deploy-script.sh @@ -0,0 +1,2 @@ +#!/bin/bash +# Do nothing for now. \ No newline at end of file From 03ad829a960536b020817d7e58e60cc064a03109 Mon Sep 17 00:00:00 2001 From: LinuxMint4Ever <> Date: Sat, 8 Feb 2020 00:13:33 +0100 Subject: [PATCH 2/4] added executable permissions --- deploy-script.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 deploy-script.sh diff --git a/deploy-script.sh b/deploy-script.sh old mode 100644 new mode 100755 From 57e15f2402762932c214e52a69588c05d1c1b827 Mon Sep 17 00:00:00 2001 From: LinuxMint4Ever <> Date: Sat, 8 Feb 2020 00:14:16 +0100 Subject: [PATCH 3/4] added lists of commands to be displayed on admin.strassenkind.ip --- commands_ondemand.conf | 2 ++ commands_status.conf | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 commands_ondemand.conf create mode 100644 commands_status.conf diff --git a/commands_ondemand.conf b/commands_ondemand.conf new file mode 100644 index 0000000..55922e4 --- /dev/null +++ b/commands_ondemand.conf @@ -0,0 +1,2 @@ +sync +cat /var/log/apt-get_update_has_run; apt list --upgradable diff --git a/commands_status.conf b/commands_status.conf new file mode 100644 index 0000000..6b28666 --- /dev/null +++ b/commands_status.conf @@ -0,0 +1,7 @@ +systemctl status apache2.service +systemctl status sshd.service +systemctl status gitea.service +free +df -h +cat /var/run/reboot-required +who From 85f7f52a518eb62de7cb577f9705465f86828fe7 Mon Sep 17 00:00:00 2001 From: LinuxMint4Ever <> Date: Sat, 8 Feb 2020 00:28:01 +0100 Subject: [PATCH 4/4] renamed file --- deploy-script.sh => deployment-script.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename deploy-script.sh => deployment-script.sh (100%) diff --git a/deploy-script.sh b/deployment-script.sh similarity index 100% rename from deploy-script.sh rename to deployment-script.sh