You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Or `docker run -d --name srvbox -v ./config:/root/.config/server_box lollipopkit/srvbox_monitor:latest`
40
-
- (Optional) If you need to update it, `docker rm srvbox -f && docker rmi lollipopkit/srvbox_monitor:latest` to delete old image. And then run the command above.
41
-
- Use binary.
42
-
- If you have `go` installed, you can run `go install github.com/lollipopkit/server_box_monitor@latest`
43
-
- If you don't have `go` installed, you can download the binary from [release page](https://github.com/lollipopkit/server_box_monitor/releases)
44
-
- (Recommended) Config `systemd` to run the app.
45
-
- Example service file [here](doc/srvbox.service)
46
-
- Rootless
47
-
- Copy file to `~/.config/systemd/user/srvbox.service`
48
-
- Run `systemctl --user enable --now srvbox`
49
-
- You can run `sudo loginctl enable-linger $USER` to make the servicerun after logout
50
-
- Rootful
51
-
- Copy file to `/etc/systemd/system/srvbox.service`
52
-
- Uncomment `User` in the file
53
-
- Run `systemctl enable --now srvbox`
54
-
2. Edit the config file.
55
-
- The config file is located at
56
-
- binary: `~/.config/server_box/config.json`
57
-
- docker: `./config/config.json`
58
-
- Fully example is [here](doc/CONFIG.jsonc)
59
-
36
+
Please goto [Wiki](https://github.com/lollipopkit/server_box_monitor/wiki) for more information.
0 commit comments