Commit f7108125 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

added shutdown executable

parent 336691b5
add_executable(hepnos-daemon hepnos-daemon.cpp)
target_link_libraries(hepnos-daemon hepnos-service yaml-cpp margo bake-server sdskv-server)
add_executable(hepnos-shutdown hepnos-shutdown.cpp)
target_link_libraries(hepnos-shutdown hepnos yaml-cpp margo)
install(TARGETS hepnos-shutdown DESTINATION bin)
install(TARGETS hepnos-daemon DESTINATION bin)
#include <iostream>
#include <hepnos.hpp>
int main(int argc, char* argv[])
if(argc != 2) {
std::cerr << "Usage: " << argv[0] << " <connection.yaml>" << std::endl;
hepnos::DataStore datastore(argv[1]);
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment