ntfy/cmd/subscribe_linux.go
Philipp Heckel 6d601ad141 macOS
2022-05-09 21:25:00 -04:00

16 lines
401 B
Go

package cmd
const (
scriptExt = "sh"
scriptHeader = "#!/bin/sh\n"
clientCommandDescriptionSuffix = `The default config file for all client commands is /etc/ntfy/client.yml (if root user),
or ~/.config/ntfy/client.yml for all other users.`
)
var (
scriptLauncher = []string{"sh", "-c"}
)
func defaultConfigFile() string {
return defaultConfigFileUnix()
}