micro improvements
- Change the rcon client target from 0.0.0.0 to 127.0.0.1 (cleaner semantics; 0.0.0.0 is for binding, not connecting). - Make container naming dynamic at ExecStop
This commit is contained in:
parent
c9c868a334
commit
9a6c513cff
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ Exec=java -Xmx4G -Xms1G -jar minecraft_server.jar --nogui
|
|||
SuccessExitStatus=0 143
|
||||
TimeoutStartSec=480
|
||||
TimeoutStopSec=480
|
||||
ExecStop=-podman exec systemd-MMS sh /mnt/rcon/stop.sh
|
||||
ExecStop=-podman exec systemd-%N sh /mnt/rcon/stop.sh
|
||||
|
||||
[Install]
|
||||
# Start by default on boot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue