2 ms·
"A service file looks like this:" Am I correct that the equivalent to this service file, in the world of systemd, is a binary file ?
by rsync 9y ago
"A service file looks like this:"
Am I correct that the equivalent to this service file, in the world of systemd, is a binary file ?
- subway 9y agoYou are incorrect. Systems uses plaintext 'ini'-ish files.
- to3m 9y agoNo; the format is text: http://0pointer.de/public/systemd-man/systemd.unit.html http://0pointer.de/public/systemd-man/systemd.unit.html
- majewsky 9y agoMaybe an example is easier to read than a manpage. Here's nginx.service from Arch Linux: https://git.archlinux.org/svntogit/packages.git/tree/trunk/service?h=packages/nginx https://git.archlinux.org/svntogit/packages.git/tree/trunk/s...
- BenjiWiebe 9y agoAnd I personally love it. When writing my own servers/daemons I can very quickly and easily write a new service file for it.