We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5fa64e commit aeaba0bCopy full SHA for aeaba0b
1 file changed
snap/hooks/configure
@@ -36,13 +36,4 @@ if [ -z $output ]; then
36
snapctl set llamacpp-args=""
37
fi
38
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
48
snapctl start "$SNAP_INSTANCE_NAME"
0 commit comments