1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-04 08:55:56 +01:00
ntfy/cmd/subscribe_unix.go

19 lines
476 B
Go
Raw Normal View History

2022-08-31 23:49:08 +02:00
//go:build linux || dragonfly || freebsd || netbsd || openbsd
2022-08-31 22:26:43 +02:00
2022-05-09 22:22:52 +02:00
package cmd
const (
2022-05-10 03:25:00 +02: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 22:22:52 +02:00
or ~/.config/ntfy/client.yml for all other users.`
)
2022-05-10 03:25:00 +02:00
var (
scriptLauncher = []string{"sh", "-c"}
)
2022-05-09 22:22:52 +02:00
2022-06-01 22:57:35 +02:00
func defaultClientConfigFile() string {
return defaultClientConfigFileUnix()
2022-05-09 22:22:52 +02:00
}