From 4397ea8a407146c82198f0c148ffad6a351fecd3 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 19 Jun 2020 12:45:08 +0200 Subject: #986 Rename configuration and systemd to ogserver Step forward to rename all ogAdmServer references to ogServer --- cfg/ogAdmServer.cfg | 8 -------- cfg/ogadmserver.service | 13 ------------- cfg/ogserver.cfg | 8 ++++++++ cfg/ogserver.service | 13 +++++++++++++ 4 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 cfg/ogAdmServer.cfg delete mode 100644 cfg/ogadmserver.service create mode 100644 cfg/ogserver.cfg create mode 100644 cfg/ogserver.service (limited to 'cfg') diff --git a/cfg/ogAdmServer.cfg b/cfg/ogAdmServer.cfg deleted file mode 100644 index 790b233..0000000 --- a/cfg/ogAdmServer.cfg +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index 3dd96ed..0000000 --- a/cfg/ogadmserver.service +++ /dev/null @@ -1,13 +0,0 @@ -# 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 diff --git a/cfg/ogserver.cfg b/cfg/ogserver.cfg new file mode 100644 index 0000000..790b233 --- /dev/null +++ b/cfg/ogserver.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/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 -- cgit v1.2.3-18-g5258