aboutsummaryrefslogtreecommitdiff
path: root/cmd/mobius-hotline-server
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-07-31 11:00:09 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-07-31 11:00:09 -0700
commit76ce076907c7cb6cd8d4fff5d8da543d547c8ab9 (patch)
tree5748cc603aef7ff988924c561d915787af142b4e /cmd/mobius-hotline-server
parent2bc65e77d7cf17f51ae5d4250f9a5736769a844f (diff)
Move service file to correct location
Diffstat (limited to 'cmd/mobius-hotline-server')
-rw-r--r--cmd/mobius-hotline-server/mobius-hotline-server.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/mobius-hotline-server/mobius-hotline-server.service b/cmd/mobius-hotline-server/mobius-hotline-server.service
new file mode 100644
index 0000000..ec2437c
--- /dev/null
+++ b/cmd/mobius-hotline-server/mobius-hotline-server.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Mobius Server
+After=network.target
+StartLimitIntervalSec=0
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=1
+ExecStart=/usr/local/bin/mobius-hotline-server
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file