Can you put systemd units under a custom path?
+1
−0
The systemd manual gives a list of path where systemd looks for unit files.
However, I want to isolate my units in a path of my own choosing. Is it possible to configure systemd to add some path to that list of search locations?
1 answer
+0
−2
Yes, you can put systemd units under a system path. Systemd units are typically stored in the /etc/systemd/system directory, which is the default location for system-level units. However, you can also place units in other directories, as long as you specify the correct path when enabling or starting the unit.
0 comment threads