1

I'm working on an embedded system which mounts /etc as read-only, I'd like to add a new, additional directory in which I can add/modify systemd unit files.

So for example:

/mnt/flash/test/myservice.service

systemctl daemon-reload

How can I configure the /mnt/flash/test/ path to be searched by systemctl daemon-reload?

Thanks!

  • 1
    Use an overlay filesystem instead. This is what everyone else does. – Michael Hampton Sep 9 '15 at 20:37
  • That's kind of a big change, I found that /run/systemd/system/ can be used for runtime drop-ins and just linked my files there. Seems to work – Zugdud Sep 10 '15 at 15:02
0

I found that /run/systemd/system/ can be used for runtime drop-ins and just linked my files there. Seems to work

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.