mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-15 17:50:55 +00:00
19 lines
525 B
Go
19 lines
525 B
Go
//go:build linux || dragonfly || freebsd || netbsd || openbsd
|
|
// +build linux dragonfly freebsd netbsd openbsd
|
|
|
|
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 defaultClientConfigFile() string {
|
|
return defaultClientConfigFileUnix()
|
|
}
|