summarylogtreecommitdiffstats
path: root/ogar.service
diff options
context:
space:
mode:
authorPatrick Darwinkel2015-06-26 17:09:36 +0200
committerPatrick Darwinkel2015-06-26 17:09:36 +0200
commitde45dac42ceb41fd251c37d97b06d95a80d5e003 (patch)
treeb038bedba45569667ba9e47f9603f48f39b56003 /ogar.service
downloadaur-de45dac42ceb41fd251c37d97b06d95a80d5e003.tar.gz
Initial commit
Diffstat (limited to 'ogar.service')
-rw-r--r--ogar.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/ogar.service b/ogar.service
new file mode 100644
index 000000000000..2ac4c4308c7d
--- /dev/null
+++ b/ogar.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Ogar Server
+After=network.target
+
+[Service]
+Type=simple
+User=ogar
+Group=ogar
+WorkingDirectory=/usr/share/ogar
+ExecStart=/usr/bin/node /usr/share/ogar/src/index.js
+
+[Install]
+WantedBy=multi-user.target