summarylogtreecommitdiffstats
path: root/forged.service
diff options
context:
space:
mode:
authorNitroretro2019-09-15 19:47:18 +0300
committerNitroretro2019-09-15 19:47:18 +0300
commita838219ace52714aeff52be497a1395df3ec4cbc (patch)
tree95a18a070f0a107cd536ac3f9b153841a093aa10 /forged.service
parent9a1fa5eaccf98b00c054313ed2ae42e0316aa09a (diff)
downloadaur-a838219ace52714aeff52be497a1395df3ec4cbc.tar.gz
Edited minecraft-server package to work with Forge
Diffstat (limited to 'forged.service')
-rw-r--r--forged.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/forged.service b/forged.service
new file mode 100644
index 00000000000..091d37b6886
--- /dev/null
+++ b/forged.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Minecraft Forge Server
+After=local-fs.target network.target multi-user.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/forged start
+ExecStop=/usr/bin/forged stop
+User=forge
+Group=forge
+
+[Install]
+WantedBy=multi-user.target