summarylogtreecommitdiffstats
path: root/cuberite.service
diff options
context:
space:
mode:
authorEden Rose2019-10-09 04:02:19 +0000
committerEden Rose2019-10-09 04:02:19 +0000
commit8c4fa800adac0958924c1026afcbd677567dec15 (patch)
treea9b7b2ddbdbf8fafb38a0e84c13ddda65d367759 /cuberite.service
downloadaur-8c4fa800adac0958924c1026afcbd677567dec15.tar.gz
initial
Diffstat (limited to 'cuberite.service')
-rw-r--r--cuberite.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cuberite.service b/cuberite.service
new file mode 100644
index 000000000000..b62e120304cb
--- /dev/null
+++ b/cuberite.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Cuberite Server
+After=local-fs.target network.target multi-user.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/cuberite start
+ExecStop=/usr/bin/cuberite stop
+User=cuberite
+Group=cuberite
+
+[Install]
+WantedBy=multi-user.target