subscribe_linux.go 401 B

12345678910111213141516
  1. package cmd
  2. const (
  3. scriptExt = "sh"
  4. scriptHeader = "#!/bin/sh\n"
  5. clientCommandDescriptionSuffix = `The default config file for all client commands is /etc/ntfy/client.yml (if root user),
  6. or ~/.config/ntfy/client.yml for all other users.`
  7. )
  8. var (
  9. scriptLauncher = []string{"sh", "-c"}
  10. )
  11. func defaultConfigFile() string {
  12. return defaultConfigFileUnix()
  13. }