| Kudos for making it daemonless! I think Servicer can be a good starting point for people to learn how to use Systemd services and systemd-run. Systemd is huge and can be scary to learn, so providing a set of steps to get a service running is very instructive. But then, Servicer requires super user priviliges to modify the system, instead of running everything as the non-privileged user, via `--user` flag for systemctl or via systemd-run... There are few commands to learn the basics when setting up a new system wide service: systemctl and journalctl. Some examples:
- systemctl daemon-reload: reload all unit files
- systemctl start/stop/status/restart <service>: quite intuitive, don't you think?
- journalctl -u <service>: to see all logs from that service. I like to also use `-f` flag to follow new log entries.
- man systemctl: the manual for systemctl
- man journalctl: the manual for journalctl Writing new service units is the "hard" part, but there are plenty of "templates" on the net, or you can browse `/usr/lib/systemd/system/` for examples. But don't let the critics here demotivate you. You made a tool, you published it, congrats! |