mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-27 19:21:26 +00:00
13 lines
250 B
Desktop File
Executable File
13 lines
250 B
Desktop File
Executable File
[Unit]
|
|
Description=Properly shutdown Minecraft before PC shutdown
|
|
OnFailure=logErrors@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
User=bruno
|
|
ExecStop=/bin/sh /home/bruno/Apps/Minecraft/stopServers.sh
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|