fix: add PATH to systemd service so podman-compose is found at boot
https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
This commit is contained in:
parent
b7430cbb65
commit
0fb3a6bfe1
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ Wants=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/$(id -un)/.local/bin
|
||||||
ExecStart=${SCRIPT_DIR}/boot.sh
|
ExecStart=${SCRIPT_DIR}/boot.sh
|
||||||
ExecStop=podman compose --env-file ${REPO_ROOT}/.env -f ${SCRIPT_DIR}/docker-compose.yml down
|
ExecStop=podman compose --env-file ${REPO_ROOT}/.env -f ${SCRIPT_DIR}/docker-compose.yml down
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue