Adds reboot script and attempt to make a service file.

This commit is contained in:
Colin Diem
2023-04-17 03:47:15 +00:00
parent 674708ef35
commit b5f2e74bd0
2 changed files with 27 additions and 0 deletions

8
my_services.service Normal file
View File

@@ -0,0 +1,8 @@
[Unit]
Description=Launch Service for my self-hosted services.
[Service]
ExecStart=/home/ubuntu/start.sh &
[Install]
WantedBy=multi-user.target

19
reboot.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
clear
cd /home/ubuntu/
cd vaultwarden/
docker-compose up -d
cd /home/ubuntu/
cd gitea/
docker-compose up -d
cd /home/ubuntu/
cd web/blog/
docker-compose up -d
cd /home/ubuntu/
cd nginx-reverse-proxy/
docker-compose up -d
cd /home/ubuntu/