summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4fb8a1e..b37ecfe 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ install-user:
@if ! id -u $(SERVICE_USER) >/dev/null 2>&1; then \
echo "===> Creating service user..."; \
groupadd $(SERVICE_GROUP) 2>/dev/null || true; \
- useradd -g $(SERVICE_GROUP) -s /sbin/nologin -d /var/empty -c "lexd daemon user" $(SERVICE_USER); \
+ useradd -g $(SERVICE_GROUP) -s /sbin/nologin -m -c "lexd daemon user" $(SERVICE_USER); \
fi
install: $(TARGET) install-user
@@ -121,7 +121,7 @@ uninstall:
@echo "Note: The data directory and service accounts were preserved."
@echo "To remove all remaining data, run:"
@echo " # rm -rf $(VARDIR)"
- @echo " # userdel $(SERVICE_USER)"
+ @echo " # userdel -r $(SERVICE_USER)"
@echo " # groupdel $(SERVICE_GROUP)"
clean: