Added release scripts for starting and stopping services.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2021-12-27 20:39:17 +00:00
parent fb27ce027c
commit 33f47414bb
8 changed files with 25 additions and 0 deletions

6
releases/docker-start.sh Executable file
View file

@ -0,0 +1,6 @@
sudo systemctl enable docker
sudo systemctl enable containerd
sudo systemctl start docker
sudo systemctl start containerd

5
releases/docker-stop.sh Executable file
View file

@ -0,0 +1,5 @@
sudo systemctl stop docker
sudo systemctl stop containerd
sudo systemctl disable docker
sudo systemctl disable containerd

3
releases/snapd-start.sh Executable file
View file

@ -0,0 +1,3 @@
sudo systemctl enable snapd
sudo systemctl start snapd

3
releases/snapd-stop.sh Executable file
View file

@ -0,0 +1,3 @@
sudo systemctl disable snapd
sudo systemctl stop snapd

3
releases/ssh-start.sh Executable file
View file

@ -0,0 +1,3 @@
sudo systemctl enable ssh
sudo systemctl enable ssh

3
releases/ssh-stop.sh Executable file
View file

@ -0,0 +1,3 @@
sudo systemctl disable ssh
sudo systemctl stop ssh

1
releases/ufw-disable.sh Executable file
View file

@ -0,0 +1 @@
sudo ufw disable

1
releases/ufw-enable.sh Executable file
View file

@ -0,0 +1 @@
sudo ufw enable