Skip to content

Commit

Permalink
release: set RemainAfterExit=yes for prepare-local
Browse files Browse the repository at this point in the history
This fixes a potential upgrade issue for systemd 245, where oneshots
should have RemainAfterExit=yes so that they are not started again
after they exit successfully.

Signed-off-by: Ben Cressey <[email protected]>
  • Loading branch information
bcressey committed Apr 21, 2020
1 parent 94e2aed commit 928db81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/release/prepare-local.service
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ExecStart=/usr/bin/mount \
ExecStart=/usr/lib/systemd/systemd-growfs ${LOCAL_DIR}
ExecStart=/usr/bin/mkdir -p ${LOCAL_DIR}/var ${LOCAL_DIR}/opt

RemainAfterExit=false
RemainAfterExit=true
StandardError=journal+console

[Install]
Expand Down

0 comments on commit 928db81

Please sign in to comment.