ntfy/cmd/subscribe_linux.go

17 lines
401 B
Go
Raw Normal View History

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