adjusted to fixed starting on boot
This commit is contained in:
1 parent
282143431f
commit
59b66b538f
8 files changed
+7
-21
No files matched your search
@@ -19,10 +19,11 @@ cp /usr/share/containers/containers.conf ~/.config/containers/
|
|||||||
```
|
```
|
||||||
Edit `~/.config/containers/containers.conf` to set `userns = "keep-id"`
|
Edit `~/.config/containers/containers.conf` to set `userns = "keep-id"`
|
||||||
|
|
||||||
Clone quadlet files
|
Clone quadlet files and generate systemd files
|
||||||
```sh
|
```sh
|
||||||
cd ~/.config/containers/systemd/
|
cd ~/.config/containers/systemd/
|
||||||
git clone https://git.entropic.pro/Self-Hosting/Media-Quadlets
|
git clone https://git.entropic.pro/Self-Hosting/Media-Quadlets
|
||||||
|
/usr/lib/systemd/system-generators/podman-system-generator --user ~/.config/systemd/user
|
||||||
```
|
```
|
||||||
|
|
||||||
Start pod and enable autoupdate
|
Start pod and enable autoupdate
|
||||||
@@ -30,4 +31,4 @@ Start pod and enable autoupdate
|
|||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl --user start media-stack.pod
|
systemctl --user start media-stack.pod
|
||||||
systemctl --user enable --now podman-auto-update.timer
|
systemctl --user enable --now podman-auto-update.timer
|
||||||
```
|
```
|
||||||
@@ -13,6 +13,3 @@ Label=io.containers.autoupdate=registry
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
+4
-1
@@ -10,4 +10,7 @@ PublishPort=8090:8090
|
|||||||
PublishPort=8096:8096
|
PublishPort=8096:8096
|
||||||
PublishPort=8989:8989
|
PublishPort=8989:8989
|
||||||
PublishPort=9696:9696
|
PublishPort=9696:9696
|
||||||
Volume=/mnt/inteanet/Media:/media-files:z
|
Volume=/mnt/inteanet/Media:/media-files:z
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
@@ -13,6 +13,3 @@ Label=io.containers.autoupdate=registry
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
@@ -14,6 +14,3 @@ Label=io.containers.autoupdate=registry
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
@@ -13,6 +13,3 @@ Label=io.containers.autoupdate=registry
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
@@ -14,6 +14,3 @@ Label=io.containers.autoupdate=registry
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
@@ -13,6 +13,3 @@ Label=io.containers.autoupdate=registry
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Reference in new issue
Block a user