use proper HOME/USER vars
parent
1f02414834
commit
d98050129a
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
podman network create pew-net || true
|
||||
|
||||
# Exposed on port 4040 in pew-net
|
||||
|
@ -19,7 +19,7 @@ up () {
|
|||
--network pew-net \
|
||||
linuxserver/airsonic:v10.6.2-ls83
|
||||
|
||||
podman generate systemd airsonic --restart-policy=always --name > ~/.config/systemd/user/airsonic.service
|
||||
podman generate systemd airsonic --restart-policy=always --name > $HOME/.config/systemd/user/airsonic.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user airsonic || systemctl restart --user airsonic
|
||||
systemctl enable --user airsonic
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
podman network create pew-net || true
|
||||
|
||||
# Exposed on port 3000 in pew-net
|
||||
|
@ -25,7 +25,7 @@ up () {
|
|||
--network pew-net \
|
||||
gitea/gitea:1.12.5
|
||||
|
||||
podman generate systemd gitea --restart-policy=always --name > ~/.config/systemd/user/gitea.service
|
||||
podman generate systemd gitea --restart-policy=always --name > $HOME/.config/systemd/user/gitea.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user gitea || systemctl restart --user gitea
|
||||
systemctl enable --user gitea
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
podman network create pew-net || true
|
||||
|
||||
# Exposed on port 8096 in pew-net
|
||||
|
@ -19,7 +19,7 @@ up () {
|
|||
--network pew-net \
|
||||
ghcr.io/linuxserver/jellyfin:10.6.4-1-ls89
|
||||
|
||||
podman generate systemd jellyfin --restart-policy=always --name > ~/.config/systemd/user/jellyfin.service
|
||||
podman generate systemd jellyfin --restart-policy=always --name > $HOME/.config/systemd/user/jellyfin.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user jellyfin || systemctl restart --user jellyfin
|
||||
systemctl enable --user jellyfin
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
|
||||
podman create \
|
||||
--name minecraft \
|
||||
|
@ -14,7 +14,7 @@ up () {
|
|||
--publish 127.0.0.1:25565:25565 \
|
||||
itzg/minecraft-server:latest
|
||||
|
||||
podman generate systemd minecraft --restart-policy=always --name > ~/.config/systemd/user/minecraft.service
|
||||
podman generate systemd minecraft --restart-policy=always --name > $HOME/.config/systemd/user/minecraft.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user minecraft || systemctl restart --user minecraft
|
||||
systemctl enable --user minecraft
|
||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
|||
# to scan new files: k exec --stdin --tty nextcloud-POD -npew -- /bin/bash -c "/var/www/html/occ files:scan --path='/USER/files'"
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
podman network create pew-net || true
|
||||
|
||||
# Exposed on port 80 in pew-net
|
||||
|
@ -24,7 +24,7 @@ up () {
|
|||
--network pew-net \
|
||||
nextcloud:20.0.1-apache
|
||||
|
||||
podman generate systemd nextcloud --restart-policy=always --name > ~/.config/systemd/user/nextcloud.service
|
||||
podman generate systemd nextcloud --restart-policy=always --name > $HOME/.config/systemd/user/nextcloud.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user nextcloud || systemctl restart --user nextcloud
|
||||
systemctl enable --user nextcloud
|
||||
|
@ -40,7 +40,7 @@ up () {
|
|||
--network pew-net \
|
||||
mariadb:10.5.6
|
||||
|
||||
podman generate systemd nextcloud-mariadb --restart-policy=always --name > ~/.config/systemd/user/nextcloud-mariadb.service
|
||||
podman generate systemd nextcloud-mariadb --restart-policy=always --name > $HOME/.config/systemd/user/nextcloud-mariadb.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user nextcloud-mariadb || systemctl restart --user nextcloud-mariadb
|
||||
systemctl enable --user nextcloud-mariadb
|
||||
|
@ -51,12 +51,12 @@ up () {
|
|||
--network pew-net \
|
||||
redis:6.0.9 --requirepass nextcloud
|
||||
|
||||
podman generate systemd nextcloud-redis --restart-policy=always --name > ~/.config/systemd/user/nextcloud-redis.service
|
||||
podman generate systemd nextcloud-redis --restart-policy=always --name > $HOME/.config/systemd/user/nextcloud-redis.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user nextcloud-redis || systemctl restart --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 $HOME/.config/systemd/user/
|
||||
systemctl start --user nextcloud-cron.timer || systemctl restart --user nextcloud-cron.timer
|
||||
systemctl enable --user nextcloud-cron.timer
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
podman network create pew-net || true
|
||||
|
||||
# main nginx container
|
||||
|
@ -25,7 +25,7 @@ up () {
|
|||
--network pew-net \
|
||||
linuxserver/swag:1.10.1-ls29
|
||||
|
||||
podman generate systemd nginx --restart-policy=always --name > ~/.config/systemd/user/nginx.service
|
||||
podman generate systemd nginx --restart-policy=always --name > $HOME/.config/systemd/user/nginx.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user nginx || systemctl restart --user nginx
|
||||
systemctl enable --user nginx
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
up () {
|
||||
loginctl enable-linger paul
|
||||
loginctl enable-linger $USER
|
||||
podman network create pew-net || true
|
||||
|
||||
# Exposed on port 32400 in pew-net
|
||||
|
@ -19,7 +19,7 @@ up () {
|
|||
--network pew-net \
|
||||
linuxserver/plex:1.20.3.3483-211702a9f-ls122
|
||||
|
||||
podman generate systemd plex --restart-policy=always --name > ~/.config/systemd/user/plex.service
|
||||
podman generate systemd plex --restart-policy=always --name > $HOME/.config/systemd/user/plex.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl start --user plex || systemctl restart --user plex
|
||||
systemctl enable --user plex
|
||||
|
|
Loading…
Reference in New Issue