mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 05:39:57 -05:00
upgrade.sh delegates to wrolpi-upgrade service so that logs are visible in controller, even if launched from terminal.
This commit is contained in:
parent
98d670feb7
commit
d697fc4603
2 changed files with 19 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=WROLPI_UPGRADE_SERVICE=1
|
||||
EnvironmentFile=/tmp/wrolpi-upgrade.env
|
||||
ExecStart=/opt/wrolpi/upgrade.sh -b ${BRANCH}
|
||||
User=root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue