Simplify Service Management on systemd
servicer
is a user-friendly CLI tool designed to simplify service management on systemd
, abstracting away the complexities of the systemd ecosystem. With an easy-to-use API comparable to popular tools like pm2
, servicer empowers users to create, control, and manage services effortlessly.
servicer
is lightweight, written in Rust and doesn’t run in the background. It does not fork services nor run a custom logging solution. It is a thin layer on systemd
that creates .ser.service
files. Logging is handled by journald.
Install
Download the binary from the release page or setup as-
wget https://github.com/servicer-labs/servicer/releases/download/v0.1.2/servicer
# grant permissions
chmod +rwx ./servicer
# Rename to ser and make it accessable from path
sudo mv ./servicer /usr/bin/ser
# This should work now
ser --help
Or build from source
cargo install servicer
sudo ln -s ~/.cargo/bin/servicer /usr/bin/ser
Create service
sudo ser creat