[systemd-devel] Offline systemd unit file installer
arvidjaar at gmail.com
Fri Aug 8 20:48:51 PDT 2014
В Fri, 8 Aug 2014 19:57:12 +0000
"Paassen, Hiram van" <Hiram.van.Paassen at mastervolt.com> пишет:
> Is there a off-line variant for systemctl enable/disable? We use buildroot to generate/cross-compile a file-system and make extensive use of systemd. Right now we use installer scripts to create the symlinks needed to enable a unit. This means changes in unit files also need changes in the corresponding install scripts.
> Is there a tool or something in the systemd source that can parse unit files and install the required symlinks in the appointed directory? Something that can run on the host system?
systemctl --root=/path/to/root enable ...
> What would be the best way to do such a thing if there is no tool?
> Best regards,
> Power Products, LLC Email Notice
> This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
> This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
> If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.
> Thank you.
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
More information about the systemd-devel