summarylogtreecommitdiffstats
path: root/tshock@.service
diff options
context:
space:
mode:
authorPhilip Abernethy2015-07-14 11:21:53 +0200
committerPhilip Abernethy2015-07-14 11:21:53 +0200
commitb6053ccbf830452b15012860cbdcc98752077124 (patch)
tree640752cac32a21a006fe05707df2edb6481d452c /tshock@.service
downloadaur-b6053ccbf830452b15012860cbdcc98752077124.tar.gz
Initial commit
Diffstat (limited to 'tshock@.service')
-rw-r--r--tshock@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/tshock@.service b/tshock@.service
new file mode 100644
index 000000000000..95f43e499609
--- /dev/null
+++ b/tshock@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=A Terraria Server administration modification that runs on the open source TerrariaAPI.
+
+[Service]
+User=tshock
+Group=tshock
+ExecStart=/srv/tshock/tshock.sh start %i
+ExecStop=/srv/tshock/tshock.sh stop %i
+Type=forking
+
+[Install]
+WantedBy=multi-user.target