mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 02:38:58 +02:00
Fix the failed start.
This commit is contained in:
parent
244a3f9826
commit
03a9eac248
1 changed files with 2 additions and 1 deletions
|
|
@ -400,8 +400,9 @@ in {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = "minecraft";
|
User = "minecraft";
|
||||||
Group = "minecraft";
|
Group = "minecraft";
|
||||||
|
Environment = "PATH=${pkgs.coreutils}/bin:${pkgs.bash}/bin:/run/wrappers/bin:${pkgs.openjdk21}/bin";
|
||||||
WorkingDirectory = "/srv/minecraft/atm10tss";
|
WorkingDirectory = "/srv/minecraft/atm10tss";
|
||||||
ExecStart = "/srv/minecraft/atm10tss/run.sh";
|
ExecStart = "${pkgs.bash}/bin/bash /srv/minecraft/atm10tss/run.sh";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
StandardOutput = "journal";
|
StandardOutput = "journal";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue