mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 07:45:48 +00:00
12 lines
219 B
SYSTEMD
12 lines
219 B
SYSTEMD
|
[Unit]
|
||
|
Description=Properly shutdown Minecraft before PC shutdown
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=true
|
||
|
User=bruno
|
||
|
ExecStop=/bin/sh /home/bruno/Apps/Minecraft/stopServers.sh
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|