Changes

Jump to navigation Jump to search
2 bytes removed ,  11:08, 18 November 2020
m
Line 405: Line 405:  
Looking at the options:
 
Looking at the options:
   −
===== '''Create unit files in /etc/systemd/system/ or in /lib/systemd/system/?''' =====
+
==== '''Create unit files in /etc/systemd/system/ or in /lib/systemd/system/?''' ====
 
:As a vendor we should work in /lib/systemd/system/, but as an admin helper we might want to play in /etc/systemd/system/ and rather offer a way to admin to use our template-custom or config db.
 
:As a vendor we should work in /lib/systemd/system/, but as an admin helper we might want to play in /etc/systemd/system/ and rather offer a way to admin to use our template-custom or config db.
   Line 428: Line 428:  
:The advantage of the second method is that one only overrides the settings one specifically wants, where updates to the unit by the vendor automatically apply. This has the disadvantage that some future updates by the vendor might be incompatible with the local changes.<ref>https://www.freedesktop.org/software/systemd/man/systemd.unit.html</ref>
 
:The advantage of the second method is that one only overrides the settings one specifically wants, where updates to the unit by the vendor automatically apply. This has the disadvantage that some future updates by the vendor might be incompatible with the local changes.<ref>https://www.freedesktop.org/software/systemd/man/systemd.unit.html</ref>
   −
==== uninstalling /masking unwanted/conflicting services: example of firewalld. ====
+
===== uninstalling /masking unwanted/conflicting services: example of firewalld. =====
 
:We can plan to uninstall firewalld for example, but some packages will reinstall as a requirement. It might even be started, which could conflict with masq.
 
:We can plan to uninstall firewalld for example, but some packages will reinstall as a requirement. It might even be started, which could conflict with masq.
   Line 532: Line 532:  
* try-reload-or-restart
 
* try-reload-or-restart
   −
==== Service migration ====
+
=== Service migration ===
 
* We will have all our service unit file in /usr/lib/systemd/system/
 
* We will have all our service unit file in /usr/lib/systemd/system/
 
* They should all be wanted by  sme-server.target in the [Install]
 
* They should all be wanted by  sme-server.target in the [Install]

Navigation menu