use more efficient ordering
parent
5af550f4d7
commit
e8c9875d9f
|
@ -21,7 +21,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd airsonic --restart-policy=always --name > ~/.config/systemd/user/airsonic.service
|
podman generate systemd airsonic --restart-policy=always --name > ~/.config/systemd/user/airsonic.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user airsonic || systemctl start --user airsonic
|
systemctl start --user airsonic || systemctl restart --user airsonic
|
||||||
systemctl enable --user airsonic
|
systemctl enable --user airsonic
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd gitea --restart-policy=always --name > ~/.config/systemd/user/gitea.service
|
podman generate systemd gitea --restart-policy=always --name > ~/.config/systemd/user/gitea.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user gitea || systemctl start --user gitea
|
systemctl start --user gitea || systemctl restart --user gitea
|
||||||
systemctl enable --user gitea
|
systemctl enable --user gitea
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd minecraft --restart-policy=always --name > ~/.config/systemd/user/minecraft.service
|
podman generate systemd minecraft --restart-policy=always --name > ~/.config/systemd/user/minecraft.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user minecraft || systemctl start --user minecraft
|
systemctl start --user minecraft || systemctl restart --user minecraft
|
||||||
systemctl enable --user minecraft
|
systemctl enable --user minecraft
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd nextcloud --restart-policy=always --name > ~/.config/systemd/user/nextcloud.service
|
podman generate systemd nextcloud --restart-policy=always --name > ~/.config/systemd/user/nextcloud.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user nextcloud || systemctl start --user nextcloud
|
systemctl start --user nextcloud || systemctl restart --user nextcloud
|
||||||
systemctl enable --user nextcloud
|
systemctl enable --user nextcloud
|
||||||
|
|
||||||
# Exposed on port 3306 in pew-net
|
# Exposed on port 3306 in pew-net
|
||||||
|
@ -42,7 +42,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd nextcloud-mariadb --restart-policy=always --name > ~/.config/systemd/user/nextcloud-mariadb.service
|
podman generate systemd nextcloud-mariadb --restart-policy=always --name > ~/.config/systemd/user/nextcloud-mariadb.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user nextcloud-mariadb || systemctl start --user nextcloud-mariadb
|
systemctl start --user nextcloud-mariadb || systemctl restart --user nextcloud-mariadb
|
||||||
systemctl enable --user nextcloud-mariadb
|
systemctl enable --user nextcloud-mariadb
|
||||||
|
|
||||||
# Exposed on port 6379 in pew-net
|
# Exposed on port 6379 in pew-net
|
||||||
|
@ -53,11 +53,11 @@ up () {
|
||||||
|
|
||||||
podman generate systemd nextcloud-redis --restart-policy=always --name > ~/.config/systemd/user/nextcloud-redis.service
|
podman generate systemd nextcloud-redis --restart-policy=always --name > ~/.config/systemd/user/nextcloud-redis.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user nextcloud-redis || systemctl start --user nextcloud-redis
|
systemctl start --user nextcloud-redis || systemctl restart --user nextcloud-redis
|
||||||
systemctl enable --user nextcloud-redis
|
systemctl enable --user nextcloud-redis
|
||||||
|
|
||||||
cp nextcloud-cron.service nextcloud-cron.timer ~/.config/systemd/user/
|
cp nextcloud-cron.service nextcloud-cron.timer ~/.config/systemd/user/
|
||||||
systemctl restart --user nextcloud-cron.timer || systemctl start --user nextcloud-cron.timer
|
systemctl start --user nextcloud-cron.timer || systemctl restart --user nextcloud-cron.timer
|
||||||
systemctl enable --user nextcloud-cron.timer
|
systemctl enable --user nextcloud-cron.timer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ up () {
|
||||||
--env GUID=1000 \
|
--env GUID=1000 \
|
||||||
--env TZ=US/Eastern \
|
--env TZ=US/Eastern \
|
||||||
--env URL=seaturtle.pw \
|
--env URL=seaturtle.pw \
|
||||||
--env SUBDOMAINS=airsonic,git,nc,plex \
|
--env SUBDOMAINS=airsonic,git,jf,nc,plex \
|
||||||
--env VALIDATION=http \
|
--env VALIDATION=http \
|
||||||
--env EMAIL=paulsw.pw@gmail.com \
|
--env EMAIL=paulsw.pw@gmail.com \
|
||||||
--volume /bigdata/k8s-config/nginx/config:/config:rw \
|
--volume /bigdata/k8s-config/nginx/config:/config:rw \
|
||||||
|
@ -27,7 +27,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd nginx --restart-policy=always --name > ~/.config/systemd/user/nginx.service
|
podman generate systemd nginx --restart-policy=always --name > ~/.config/systemd/user/nginx.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user nginx || systemctl start --user nginx
|
systemctl start --user nginx || systemctl restart --user nginx
|
||||||
systemctl enable --user nginx
|
systemctl enable --user nginx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ up () {
|
||||||
|
|
||||||
podman generate systemd plex --restart-policy=always --name > ~/.config/systemd/user/plex.service
|
podman generate systemd plex --restart-policy=always --name > ~/.config/systemd/user/plex.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl restart --user plex || systemctl start --user plex
|
systemctl start --user plex || systemctl restart --user plex
|
||||||
systemctl enable --user plex
|
systemctl enable --user plex
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue