[systemd-devel] What unit file should I depend on?

Manuel Amador rudd-o at rudd-o.com
Wed Feb 1 18:47:44 PST 2012


So what I should do is something like, if I want my ZFS.service to be bound to 
blah.service, is 

/lib/systemd/system/blah.service.requires/ZFS.service ->
   /lib/systemd/system/ZFS.service

Right?  This would cause blah.service to require ZFS, correct?

On Wednesday, February 01, 2012 19:10:16 Lennart Poettering wrote:
> On Wed, 01.02.12 02:11, Manuel Amador (Rudd-O) (rudd-o at rudd-o.com) wrote:
> > Also, how do I make a unit file active all the time, without having to do
> > systemctl enable XXX.unit?
> 
> Symlink them in /lib instead of /etc.
> 
> (Note that in general it's probably only software that is shipped
> alongside systemd, or is in the base package set of your distro should
> get the privilege to make itself this hard to disable)
> 
> Lennart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120201/f8e78a9f/attachment.html>


More information about the systemd-devel mailing list