summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/systemd/systemd.install')
-rw-r--r--libre/systemd/systemd.install14
1 files changed, 3 insertions, 11 deletions
diff --git a/libre/systemd/systemd.install b/libre/systemd/systemd.install
index 536e54d1b..d5f0a68ff 100644
--- a/libre/systemd/systemd.install
+++ b/libre/systemd/systemd.install
@@ -15,15 +15,6 @@ post_common() {
journalctl --update-catalog
}
-_242_0_2_changes() {
- if [[ -L var/lib/systemd/timesync ]]; then
- rm var/lib/systemd/timesync
- if [[ -d var/lib/private/systemd/timesync ]]; then
- mv var/lib/{private/,}systemd/timesync
- fi
- fi
-}
-
post_install() {
systemd-machine-id-setup
@@ -34,7 +25,8 @@ post_install() {
# enable some services by default, but don't track them
systemctl enable \
getty@tty1.service \
- remote-fs.target
+ remote-fs.target \
+ systemd-userdbd.socket
# group 'systemd-journal-remote' is created by systemd-sysusers
mkdir -m2755 var/log/journal/remote
@@ -46,10 +38,10 @@ post_upgrade() {
if sd_booted; then
systemctl --system daemon-reexec
+ systemctl kill --kill-whom='main' --signal='SIGRTMIN+25' 'user@*.service'
fi
local v upgrades=(
- 242.0-2
)
for v in "${upgrades[@]}"; do