summaryrefslogtreecommitdiffstats
path: root/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'cfg')
-rw-r--r--cfg/ogAdmServer.cfg8
-rw-r--r--cfg/ogadmserver.service13
2 files changed, 21 insertions, 0 deletions
diff --git a/cfg/ogAdmServer.cfg b/cfg/ogAdmServer.cfg
new file mode 100644
index 0000000..790b233
--- /dev/null
+++ b/cfg/ogAdmServer.cfg
@@ -0,0 +1,8 @@
+ServidorAdm=SERVERIP
+PUERTO=2008
+USUARIO=DBUSER
+PASSWORD=DBPASSWORD
+datasource=localhost
+CATALOG=DATABASE
+INTERFACE=eth0
+APITOKEN=REPOKEY
diff --git a/cfg/ogadmserver.service b/cfg/ogadmserver.service
new file mode 100644
index 0000000..92dac09
--- /dev/null
+++ b/cfg/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