summaryrefslogtreecommitdiffstats
path: root/cfg/ogserver.service
diff options
context:
space:
mode:
Diffstat (limited to 'cfg/ogserver.service')
-rw-r--r--cfg/ogserver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cfg/ogserver.service b/cfg/ogserver.service
new file mode 100644
index 0000000..3dd96ed
--- /dev/null
+++ b/cfg/ogserver.service
@@ -0,0 +1,13 @@
+# ogserver systemd service file
+
+[Unit]
+Documentation=https://opengnsys.es/trac/wiki/En%%3ADocumentacionUsuario
+Description=OpenGnsys server
+Requires=mysql.service
+After=mysql.service
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+ExecStart=/opt/opengnsys/sbin/ogserver -f /opt/opengnsys/etc/ogserver.cfg