service.go 739 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c)2019 ZeroTier, Inc.
  3. *
  4. * Use of this software is governed by the Business Source License included
  5. * in the LICENSE.TXT file in the project's root directory.
  6. *
  7. * Change Date: 2023-01-01
  8. *
  9. * On the date above, in accordance with the Business Source License, use
  10. * of this software will be governed by version 2.0 of the Apache License.
  11. */
  12. /****/
  13. package cli
  14. /*
  15. func nodeStart() {
  16. osSignalChannel := make(chan os.Signal, 2)
  17. signal.Notify(osSignalChannel, syscall.SIGTERM, syscall.SIGQUIT, syscall.SIGINT, syscall.SIGBUS)
  18. signal.Ignore(syscall.SIGUSR1, syscall.SIGUSR2)
  19. go func() {
  20. <-osSignalChannel
  21. }()
  22. }
  23. */
  24. // Service is "zerotier service ..."
  25. func Service(basePath, authToken string, args []string) {
  26. }