diff --git a/CMakeLists.txt b/CMakeLists.txt index c350e55..563cb1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -341,7 +341,7 @@ ${SAMPLECONFIG}EOM fi systemctl enable ${Application_Name}.service -systemctl start ${Application_Name}.service") +systemctl restart ${Application_Name}.service") SET(CPACK_DEB_COMPONENT_INSTALL 1) diff --git a/service/dynuiprefresher.service b/service/dynuiprefresher.service index 203ab3a..c9546bc 100644 --- a/service/dynuiprefresher.service +++ b/service/dynuiprefresher.service @@ -2,7 +2,7 @@ Description=IP Refresher After=network.target [Service] -ExecStart=iprefresher -l +ExecStart=dynuiprefresher -l WorkingDirectory=/root StandardOutput=inherit StandardError=inherit