Skip to content
Snippets Groups Projects
Commit c9d96411 authored by dpuzyrkov's avatar dpuzyrkov
Browse files

[*] cellgainz pathc: debian start service after network-online target, pre/posrm added in debs.

parent b1185b68
No related branches found
No related tags found
2 merge requests!974bugfix-8996,!873Hotfix 8568
......@@ -137,7 +137,7 @@ if(UNIX)
message("[*] Debian package setup pkgarch=${CPACK_DEBIAN_PACKAGE_ARCHITECTURE} version=${CPACK_PACKAGE_VERSION}")
SET( CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"${CMAKE_CURRENT_SOURCE_DIR}/debian/postinst;${CMAKE_CURRENT_SOURCE_DIR}/debian/postrm;${CMAKE_CURRENT_SOURCE_DIR}/debian/templates;${CMAKE_CURRENT_SOURCE_DIR}/debian/config;")
"${CMAKE_CURRENT_SOURCE_DIR}/debian/postinst;${CMAKE_CURRENT_SOURCE_DIR}/debian/prerm;${CMAKE_CURRENT_SOURCE_DIR}/debian/postrm;${CMAKE_CURRENT_SOURCE_DIR}/debian/templates;${CMAKE_CURRENT_SOURCE_DIR}/debian/config;")
elseif(BSD)
message("[*] BSD family system ${CMAKE_SYSTEM} ")
elseif(DARWIN)
......@@ -477,7 +477,7 @@ else()
INSTALL(TARGETS ${NODE_TOOL_TARGET} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin )
if (SUPPORT_PYTHON_PLUGINS AND NOT BUILD_WITH_SYSTEM_PYTHON) #install python environment if not system python in use
INSTALL(DIRECTORY ${PYTHON_PREFIX} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/python USE_SOURCE_PERMISSIONS)
INSTALL(DIRECTORY ${PYTHON_PREFIX} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin USE_SOURCE_PERMISSIONS)
endif()
endif()
......
[Unit]
Description=Cellframe Node
After=network.target
After=network-online.target
[Service]
WorkingDirectory=/opt/cellframe-node
......@@ -9,7 +9,6 @@ ExecStop=/bin/kill -SIGTERM $MAINPID
Restart=always
User=cellframe-node
Group=cellframe-node
RestartSec=10
[Install]
WantedBy=multi-user.target
Subproject commit bae66a47cee74e0d9663a1b1a34ef1a3db4740b7
Subproject commit 3afaba317ce1039427254413bce41026763ecd50
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment