diff --git a/CMakeLists.txt b/CMakeLists.txt index e25a86f..b4d9d14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ # for test build gtest needs to be installed. cmake_minimum_required(VERSION 3.13) -project(DynuIpRefresher DESCRIPTION "Dynu ip refresher" LANGUAGES) +project(dynuiprefresher DESCRIPTION "Dynu ip refresher" LANGUAGES) SET(PROJECT_VERSION 1.3.3) # CONFIGURATION @@ -293,8 +293,8 @@ systemctl start ${Application_Name}.service") add_custom_target(build-packages "${CMAKE_COMMAND}" --build "${CMAKE_BINARY_DIR}" --target package - DEPENDS ${PROJECT_NAME} - COMMENT "Packing ${PROJECT_NAME}") + DEPENDS ${Application_Name} + COMMENT "Packing ${Application_Name}") message("") ENDIF () diff --git a/README.md b/README.md index 36a5506..bf7f869 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ I'm providing executables for Debian/Ubuntu (.deb) and RHEL/Debian (.rpm). But you can still compile the code my your own (see build section). ## Configuration -There is a configuration file `/etc/iprefresher.cfg` where you have to specify the DYNU API key (get it from their homepage), the domainid and your domain. +There is a configuration file `/etc/dynuiprefresher.cfg` where you have to specify the DYNU API key (get it from their homepage), the domainid and your domain. Furthermore, you can optionally specify a Telegram API key and a Chat ID if you want to be notfied when your local ip changes. To enable and start the service: -`systemctl enable iprefresher.service` and `systemctl start iprefresher.service` +`systemctl enable dynuiprefresher.service` and `systemctl start dynuiprefresher.service` ## Usage -First of all configure the right keys in the `/etc/iprefresher.cfg` or `%appdata%\DynuIpRefresher\iprefresher.cfg` config file. +First of all configure the right keys in the `/etc/dynuiprefresher.cfg` or `%appdata%\DynuIpRefresher\dynuiprefresher.cfg` config file. Afterwards use the following options: