summaryrefslogtreecommitdiffstats
path: root/cfg
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-18 18:52:34 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-18 18:52:51 +0200
commit83937b85f233370613427e1a8227993a492e0c63 (patch)
treeaf4c55ad1f43346138a1eadf09b169c1427903dc /cfg
parent04ca20e9f1999d2c780043152cf233bcb1836d18 (diff)
#971 move configuration file to cfg folder
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