Implement time to live to determine when to shutdown
This commit is contained in:
9
services/ensure_running.service
Normal file
9
services/ensure_running.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Launch minecraft server
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/ubuntu/minecraft/ensure_running.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user