summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/Sources/Services/ogAdmServer/misc/ogadmserver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/admin/Sources/Services/ogAdmServer/misc/ogadmserver.service b/admin/Sources/Services/ogAdmServer/misc/ogadmserver.service
new file mode 100644
index 00000000..92dac09a
--- /dev/null
+++ b/admin/Sources/Services/ogAdmServer/misc/ogadmserver.service
@@ -0,0 +1,13 @@
+# ogAdmServer 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/ogAdmServer -f /opt/opengnsys/etc/ogAdmServer.cfg