Delete systemd configurations
All checks were successful
Lint / lint (push) Successful in 8s

This commit is contained in:
Gabriel Simmer 2023-07-25 20:31:21 +01:00
parent 1d862d359d
commit 4dc609e8b5
Signed by: arch
GPG key ID: C81B106D46C5B875
2 changed files with 0 additions and 33 deletions

View file

@ -1,23 +0,0 @@
[Unit]
Description=Minecraft Server
After=network.target
[Service]
# Replace the following with correct values
ExecStart=/bin/bash /home/ubuntu/mc/start.sh
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu/mc
ExecStop=/bin/sh -c "echo stop > /home/ubuntu/mc/minecraft.control"
KillSignal=SIGCONT
Sockets=minecraft.socket
StandardInput=socket
StandardOutput=journal
StandardError=journal
Restart=on-failure
RestartSec=60s
[Install]
WantedBy=multi-user.target

View file

@ -1,10 +0,0 @@
[Unit]
BindsTo=minecraft.service
[Socket]
# Replace the following with correct values
ListenFIFO=/home/ubuntu/mc/minecraft.control
RemoveOnStop=true
SocketMode=0660
SocketUser=ubuntu
SocketGroup=ubuntu