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 `--dry-run` option.
22 **Development Server**
26 sudo env PATH="$PATH" \
27 serviceman add --cap-net-bind --system npx nodemon
34 sudo env PATH="$PATH" \
35 serviceman add --cap-net-bind --system npm start
41 pushd ./my-go-package/
42 sudo env PATH="$PATH" \
43 serviceman add --system go run -mod=vendor cmd/my-service/*.go --port 3000
47 pushd ./my-go-package/
48 go build -mod=vendor cmd/my-service
49 sudo env PATH="$PATH" \
50 serviceman add --cap-net-bind --system ./my-service --port 80
56 sudo env PATH="$PATH" serviceman add bash ./backup.sh /mnt/data
59 ### Use `--dry-run` to see the generated launcher config:
62 sudo env PATH="$PATH" \
63 serviceman add --dryrun bash ./backup.sh /mnt/data
66 ### See the (sub)command help
68 The main help, showing all subcommands:
74 Sub-command specific help: