[systemd-devel] Is it possible to load unit files from paths other than default paths ?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Sep 26 15:02:44 UTC 2016


On Wed, Sep 21, 2016 at 04:56:52PM +0530, Raghavendra. H. R wrote:
> Hi,
> I would like to create a service under a customized path Eg:/mnt and
> systemd should be able to pick my unit file from this.

Use 'systemctl link /opt/BingoGast/whatever.service'. This will create
a symlink that will tell systemd about your service file. You should
be able to do 'systemctl start whatever.service' after that.

Zbyszek


More information about the systemd-devel mailing list