Skip to content

Commit aeaba0b

Browse files
committed
fix: removed remenants of the systemd override
1 parent f5fa64e commit aeaba0b

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

snap/hooks/configure

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,4 @@ if [ -z $output ]; then
3636
snapctl set llamacpp-args=""
3737
fi
3838

39-
OVERRIDE_DIR="/etc/systemd/system/snap.lemonade-server.daemon.service.d"
40-
OVERRIDE_FILE="$OVERRIDE_DIR/limits.conf"
41-
42-
if snapctl is-connected etc-systemd-system-daemon-override; then
43-
mkdir -p "$OVERRIDE_DIR"
44-
printf '[Service]\nLimitMEMLOCK=infinity\n' > "$OVERRIDE_FILE"
45-
systemctl daemon-reload || true
46-
fi
47-
4839
snapctl start "$SNAP_INSTANCE_NAME"

0 commit comments

Comments
 (0)