mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-22 16:06:19 -05:00
Changing ownership of tmp upgrade file so that wrolpi-upgrade can change it.
This commit is contained in:
parent
f5a48e3e7c
commit
14d4aa1df4
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ if [ -z "$WROLPI_UPGRADE_SERVICE" ]; then
|
|||
echo "Delegating upgrade to wrolpi-upgrade.service..."
|
||||
# Write branch config for the service.
|
||||
echo "BRANCH=${BRANCH}" >/tmp/wrolpi-upgrade.env
|
||||
chown wrolpi:wrolpi /tmp/wrolpi-upgrade.env
|
||||
# Start following journal in background (new entries only).
|
||||
journalctl -fn0 -u wrolpi-upgrade.service &
|
||||
JOURNAL_PID=$!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue