Adds reboot script and attempt to make a service file.
This commit is contained in:
8
my_services.service
Normal file
8
my_services.service
Normal 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
19
reboot.sh
Normal 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/
|
||||||
Reference in New Issue
Block a user