From 83937b85f233370613427e1a8227993a492e0c63 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 18 Jun 2020 18:52:34 +0200 Subject: #971 move configuration file to cfg folder --- cfg/ogAdmServer.cfg | 8 ++++++++ cfg/ogadmserver.service | 13 +++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 cfg/ogAdmServer.cfg create mode 100644 cfg/ogadmserver.service (limited to 'cfg') 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 -- cgit v1.2.3-18-g5258