3 homepage: https://git.rootprojects.org/root/serviceman
5 Serviceman: cross-platform service management for Linux, Mac, and Windows.
7 Serviceman is a hassle-free wrapper around your system launcher. It works with the default system launcher to make it easy to start _user_- and _system_-level services, such as webservers, backup scripts, network and system tools, etc.
12 - The Registry (Windows)
15 Serviceman can run an app in just about any programming language very simply.
17 If you'd like to learn what `serviceman` does without actually making changes,
18 add the `--dryrun` option.
22 **Development Server**
27 sudo env PATH="$PATH" \
28 serviceman add --system --cap-net-bind npx nodemon
36 sudo env PATH="$PATH" \
37 serviceman add --system --cap-net-bind npm start
43 pushd ./my-go-package/
45 sudo env PATH="$PATH" \
46 serviceman add --system \
47 go run -mod=vendor cmd/my-service/*.go --port 3000
51 pushd ./my-go-package/
52 go build -mod=vendor cmd/my-service
54 sudo env PATH="$PATH" \
55 serviceman add --cap-net-bind --system \
56 ./my-service --port 80
62 sudo env PATH="$PATH" serviceman add bash ./backup.sh /mnt/data
65 ### Use `--dryrun` to see the generated launcher config:
68 sudo env PATH="$PATH" \
69 serviceman add --system --dryrun \
70 bash ./backup.sh /mnt/data
73 ### See the (sub)command help
75 The main help, showing all subcommands:
81 Sub-command specific help: