luyikk / test_service

so service template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust system service template

support Windows Linux MacOS Bsd

  • service cmd
  test_service service install
  test_service service install config.json
  test_service service install /home/user/xxxx.config.json
  test_service service start
  test_service service stop
  test_service service restart
  test_service service uninstall
  • exec service
   test_service exec 
   test_service exec config.json
   test_service exec /home/user/xxxx.config.json
  • create config file to path
  test_service create
  test_service create d:/xxx.json
  test_service create /home/user/xxxx.config.json
  • usage examples
  test_service create
  test_service service install
  test_service service start
  • logs out
    log output directory "logs" to service exec file path

About

so service template


Languages

Language:Rust 100.0%