Skip to content

Commit fd541f3

Browse files
committed
earlyoom: Ignore if systemctl start fails
1 parent da206e6 commit fd541f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vlab-earlyoom/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: vlab-earlyoom
2-
Version: 1.0-1
2+
Version: 1.0-2
33
Section: base
44
Priority: optional
55
Architecture: all

vlab-earlyoom/DEBIAN/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ rm -f /tmp/vlab-earlyoom
88

99
if [ "$INSTALL_MODE" = "1" ]; then
1010
echo "Enabling and starting earlyoom.service..."
11-
systemctl enable --now earlyoom.service
11+
systemctl enable --now earlyoom.service || true
1212
fi

0 commit comments

Comments
 (0)