hautreux / auks

Kerberos credential support for batch environments
Other
20 stars 18 forks source link

Fix systemd dependencies #9

Closed robberteggermont closed 8 years ago

robberteggermont commented 8 years ago

Aukspriv also has a standalone use case (for auks). Aukspriv needs to be wanted by multi-user.target for systemd to start it (when enabled).

robberteggermont commented 8 years ago

You are right, the dependencies from auksdrenewer need to be preserved. I propose to give each service it's own link to multi-user.target (so they can be enabled individually when needed, as is the case with aukspriv), and specify the dependencies for auksdrenewer in auksdrenewer.service. These 3 commits take care of this.

hautreux commented 8 years ago

I think this approach better. However, auksd may run on a different machine than auksdrenewer, so auksdrenewer only requires aukspriv on a particular node. Can you update your commit and then I will merge the result. Thanks in advance.

robberteggermont commented 8 years ago

Updated and rolled into one commit.

robberteggermont commented 8 years ago

Thanks!