mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 06:48:16 -07:00
Makefile: drop the call to chown
This commit is contained in:
parent
9444d8e131
commit
68f68aa4c6
2
Makefile
2
Makefile
@ -1,5 +1,4 @@
|
||||
MSCS_USER := minecraft
|
||||
MSCS_GROUP := minecraft
|
||||
MSCS_HOME := /opt/mscs
|
||||
|
||||
MSCTL := /usr/local/bin/msctl
|
||||
@ -14,7 +13,6 @@ UPDATE_D := $(wildcard update.d/*)
|
||||
|
||||
install: $(MSCS_HOME) update
|
||||
useradd --system --user-group --create-home --home $(MSCS_HOME) $(MSCS_USER)
|
||||
chown -R $(MSCS_USER):$(MSCS_GROUP) $(MSCS_HOME)
|
||||
if which systemctl; then \
|
||||
systemctl -f enable mscs.service; \
|
||||
else \
|
||||
|
Loading…
Reference in New Issue
Block a user