From f2bfe7b3d406cdf0b2a31e215982de1fd1526285 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 14 Feb 2018 17:32:12 +0100 Subject: [PATCH] rename contents in data/ --- data/config/{guhd.conf => nymead.conf} | 4 ++-- data/debug-interface/styles.css | 10 +++++----- data/init/{guhd => nymead} | 18 +++++++++--------- data/logrotate/{guhd => nymead} | 2 +- data/systemd/{guhd.service => nymead.service} | 4 ++-- libnymea-core/debugserverhandler.cpp | 2 +- 6 files changed, 20 insertions(+), 20 deletions(-) rename data/config/{guhd.conf => nymead.conf} (69%) rename data/init/{guhd => nymead} (90%) rename data/logrotate/{guhd => nymead} (87%) rename data/systemd/{guhd.service => nymead.service} (75%) diff --git a/data/config/guhd.conf b/data/config/nymead.conf similarity index 69% rename from data/config/guhd.conf rename to data/config/nymead.conf index 5c28b241..a8e33f72 100644 --- a/data/config/guhd.conf +++ b/data/config/nymead.conf @@ -13,8 +13,8 @@ https=false port=4444 [SSL-Configuration] -certificate=/etc/ssl/certs/guhd-certificate.crt -certificate-key=/etc/ssl/private/guhd-certificate.key +certificate=/etc/ssl/certs/nymead-certificate.crt +certificate-key=/etc/ssl/private/nymead-certificate.key [GPIO] rf433rx=27 diff --git a/data/debug-interface/styles.css b/data/debug-interface/styles.css index e3697824..8baf78c6 100644 --- a/data/debug-interface/styles.css +++ b/data/debug-interface/styles.css @@ -2,19 +2,19 @@ * * * Copyright (C) 2018 Simon Stürz * * * - * This file is part of guh. * + * This file is part of nymea. * * * - * Guh is free software: you can redistribute it and/or modify * + * nymea is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, version 2 of the License. * * * - * Guh is distributed in the hope that it will be useful, * + * nymea is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * + * along with nymea. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ @@ -63,7 +63,7 @@ button { width: 100%; } -.guh-main-logo { +.nymea-main-logo { left: 0; height: 85px; min-height: 85px; diff --git a/data/init/guhd b/data/init/nymead similarity index 90% rename from data/init/guhd rename to data/init/nymead index 9f6a4b91..78c1b3d6 100755 --- a/data/init/guhd +++ b/data/init/nymead @@ -1,13 +1,13 @@ #! /bin/sh ### BEGIN INIT INFO -# Provides: guhd +# Provides: nymead # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: guh daemon -# Description: guh is an open source home automation server, which allows to +# Short-Description: nymea daemon +# Description: nymea is an open source home automation server, which allows to # control a lot of different devices from many different manufacturers. # ### END INIT INFO @@ -16,19 +16,19 @@ # # # Copyright (C) 2015 Simon Stuerz # # # -# This file is part of guh. # +# This file is part of nymea. # # # -# guh is free software: you can redistribute it and/or modify # +# nymea is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, version 2 of the License. # # # -# guh is distributed in the hope that it will be useful, # +# nymea is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # -# along with guh. If not, see . # +# along with nymea. If not, see . # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # @@ -38,8 +38,8 @@ # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin -DESC="guh daemon" -NAME=guhd +DESC="nymea daemon" +NAME=nymead DAEMON=/usr/bin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME diff --git a/data/logrotate/guhd b/data/logrotate/nymead similarity index 87% rename from data/logrotate/guhd rename to data/logrotate/nymead index db3574b8..ccbb7b24 100644 --- a/data/logrotate/guhd +++ b/data/logrotate/nymead @@ -1,4 +1,4 @@ -/var/log/guhd.log { +/var/log/nymead.log { rotate 7 daily dateext diff --git a/data/systemd/guhd.service b/data/systemd/nymead.service similarity index 75% rename from data/systemd/guhd.service rename to data/systemd/nymead.service index aba0ff17..a15f5f1a 100644 --- a/data/systemd/guhd.service +++ b/data/systemd/nymead.service @@ -1,11 +1,11 @@ [Unit] -Description=guhd - IoT server +Description=nymead - IoT server Documentation=https://github.com/guh/guh/wiki After=network.target Wants=network-online.target [Service] -ExecStart=/usr/bin/guhd -n --print-all +ExecStart=/usr/bin/nymead -n --print-all StandardOutput=journal StandardError=journal Restart=on-failure diff --git a/libnymea-core/debugserverhandler.cpp b/libnymea-core/debugserverhandler.cpp index f94b4b59..ecb02dc5 100644 --- a/libnymea-core/debugserverhandler.cpp +++ b/libnymea-core/debugserverhandler.cpp @@ -72,7 +72,7 @@ QByteArray DebugServerHandler::createDebugXmlDocument() writer.writeStartElement("h1"); writer.writeEmptyElement("img"); writer.writeAttribute("src", "/debug/logo.svg"); - writer.writeAttribute("class", "guh-main-logo"); + writer.writeAttribute("class", "nymea-main-logo"); //: The main title of the debug server interface writer.writeCharacters(QCoreApplication::translate("main", "nymea debug interface"));