Skip to content

Commit e35436c

Browse files
committed
Sync contrib service with static systemd args
And add comments in both places so we remember to keep them in sync. Signed-off-by: Colin Walters <[email protected]>
1 parent 9c56839 commit e35436c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: contrib/packaging/bootloader-update.service

+3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Documentation=https://github.com/coreos/bootupd
66
Type=oneshot
77
ExecStart=/usr/bin/bootupctl update
88
RemainAfterExit=yes
9+
# Keep this stuff in sync with SYSTEMD_ARGS_BOOTUPD in general
10+
ProtectHome=yes
911
MountFlags=slave
12+
KillMode=mixed
1013

1114
[Install]
1215
WantedBy=multi-user.target

Diff for: src/cli/bootupctl.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ static SYSTEMD_ARGS_BOOTUPD: &[&str] = &[
1111
"bootupd",
1212
"--property",
1313
"PrivateNetwork=yes",
14+
// Keep this stuff in sync with bootloader-update.service
1415
"--property",
1516
"ProtectHome=yes",
1617
// While only our main process during update catches SIGTERM, we don't

0 commit comments

Comments
 (0)