7

Having trouble getting script to start on boot using systemd service

view full story
linux-howto

https://bbs.archlinux.org – When I try putting screen -d -m -S Server java -Xms1000M -Xms1000M -jar minecraft_server.jar nogui (same with when I use -dm rather than -d -m) in the service file I get the same errormcstart.service - Minecraft start Loaded: error (Reason: Invalid argument) Active: inactive (dead) CGroup: name=systemd:/system/mcstart.service Jan 10 18:16:52 kenthar mcstart.sh[190]: /home/zukaro/Minecraft/Scripts/mcstart.sh: line 3: cd: /Minecraft: No such file or directory Jan 10 18:16:52 kenthar mcstart.sh[190]: Must be connected to a terminal. Jan 10 18:19:19 kenthar mcstart.s (HowTos)