Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support darwin #10

Open
gedw99 opened this issue Jun 2, 2021 · 0 comments
Open

support darwin #10

gedw99 opened this issue Jun 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@gedw99
Copy link

gedw99 commented Jun 2, 2021

sudo ./immugw service install --config ./configs/immugw.toml
Password:
To provide the maximum level of security, we recommend running immugw on a different machine than immudb server. Continue ? [Y/n]Y
Error: exec: "groupadd": executable file not found in $PATH
Usage:
  immugw service [install uninstall start stop restart status] [flags]

Examples:
Install the immutable database
sudo ./immugw service install    -  Installs the daemon
sudo ./immugw service stop       -  Stops the daemon
sudo ./immugw service start      -  Starts initialized daemon
sudo ./immugw service restart    -  Restarts daemon
sudo ./immugw service uninstall  -  Removes daemon and its setup
Uninstall immugw after 20 second
sudo ./immugw service install --time 20 immugw

Flags:
  -h, --help       help for service
  -t, --time int   number of seconds to wait before stopping | restarting the service

Global Flags:
      --config string   config file (default path are configs or $HOME. Default filename is immugw.toml)

exec: "groupadd": executable file not found in $PATH

Looks like the dependency your using supports darwin: https://github.com/codenotary/daemon/blob/master/daemon_darwin.go

Maybe its useful but these as you know also work for desktops and servers

github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
github.com/kardianos/service v1.2.0

@gedw99 gedw99 added the enhancement New feature or request label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant