Systemd (ptui)

It seems systemd can’t be avoided. I am annoyed at having to relearn stuff for a problem not worth solving. Here are my notes as I learn to use it.
Some links …
- The Free BSD man page
- from stack exchange, about starting and stopping, and the importance of type=
- A tutorial on the commands from digital ocean
- I found this at devdungeon.com; it has another example service file
- Type= simple or forking, at superuser.com
An example,
[Unit] Description=A description of the service After=network.target [Service] Type=simple # check link No 2 & 5 above User=root ExecStart=${program_path}/${program_name} # explicit absolute path reqd [Install] WantedBy=multi-user.target
It’s like a virus, I had to write a service file for no-ip’s dynamic update client. I remain confused about the choice, but the link from superusr.com above is very clear & helpful.. Wish I’d found it before I had finished.
Comments ( 3 )