moving DaemonAttr to a new daemon.go file so that it doesn't need to be repeated in both daemon_linux and daemon_darwin