HOWTO Create a Service: Difference between revisions

From Pumping Station One
Wikibot (talk | contribs)
m Robot: Cosmetic changes
 
Line 1: Line 1:
== Why do it this way? ==  
== Why do it this way? ==


* Your service will be watchdogged by systemd
* Your service will be watchdogged by systemd
Line 23: Line 23:




The creates a user named <code>strup</code>. The -b indicates the base home directory is /srv/, and therefore the system accounts home directory is /srv/strup/
The creates a user named <code>strup</code>. The -b indicates the base home directory is /srv/, and therefore the system accounts home directory is /srv/strup/


== Working with SystemD ==
== Working with SystemD ==