1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-14 11:47:33 +00:00
binwiederhier-ntfy/cmd/subscribe_unix.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
485 B
Go
Raw Normal View History

2022-08-31 21:49:08 +00:00
//go:build linux || dragonfly || freebsd || netbsd || openbsd
2022-08-31 20:26:43 +00:00
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 defaultClientConfigFile() (string, error) {
2022-06-01 20:57:35 +00:00
return defaultClientConfigFileUnix()
2022-05-09 20:22:52 +00:00
}