summaryrefslogtreecommitdiff
path: root/shell_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'shell_scripts')
-rwxr-xr-xshell_scripts/systemd/grafana.sh5
-rwxr-xr-xshell_scripts/systemd/postgres.sh4
2 files changed, 9 insertions, 0 deletions
diff --git a/shell_scripts/systemd/grafana.sh b/shell_scripts/systemd/grafana.sh
new file mode 100755
index 00000000..733599b9
--- /dev/null
+++ b/shell_scripts/systemd/grafana.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Runs on http://localhost:3000, default username is admin, current password is localhost123
+doas systemctl enable grafana.service
+doas systemctl start grafana.service
+systemctl status grafana.service
diff --git a/shell_scripts/systemd/postgres.sh b/shell_scripts/systemd/postgres.sh
new file mode 100755
index 00000000..f216da70
--- /dev/null
+++ b/shell_scripts/systemd/postgres.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+doas systemctl enable postgresql.service
+doas systemctl start postgresql.service
+doas systemctl status postgresql