Fix the failed start.

This commit is contained in:
Root User 2026-04-09 18:40:13 +03:00
parent 244a3f9826
commit 03a9eac248
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -400,8 +400,9 @@ in {
Type = "simple";
User = "minecraft";
Group = "minecraft";
Environment = "PATH=${pkgs.coreutils}/bin:${pkgs.bash}/bin:/run/wrappers/bin:${pkgs.openjdk21}/bin";
WorkingDirectory = "/srv/minecraft/atm10tss";
ExecStart = "/srv/minecraft/atm10tss/run.sh";
ExecStart = "${pkgs.bash}/bin/bash /srv/minecraft/atm10tss/run.sh";
Restart = "on-failure";
RestartSec = "10s";
StandardOutput = "journal";