Am Tue, 27 Sep 2016 06:33:40 +0300
schrieb Andrei Borzenkov :
> 27.09.2016 05:10, Kai Krakow пишет:
> > Am Mon, 26 Sep 2016 14:30:37 +0530
> > schrieb "Raghavendra. H. R" :
> >
> >> Andrei,
> >>
> >> How to set SYSTEMD_UNIT_PATH in Systemd ?
> >
> > Maybe try "systemctl set-environment"? You
27.09.2016 05:10, Kai Krakow пишет:
> Am Mon, 26 Sep 2016 14:30:37 +0530
> schrieb "Raghavendra. H. R" :
>
>> Andrei,
>>
>> How to set SYSTEMD_UNIT_PATH in Systemd ?
>
> Maybe try "systemctl set-environment"? You may need to run "systemctl
> daemon-reload" after this for the new unit files to pic
Am Mon, 26 Sep 2016 14:30:37 +0530
schrieb "Raghavendra. H. R" :
> Andrei,
>
> How to set SYSTEMD_UNIT_PATH in Systemd ?
Maybe try "systemctl set-environment"? You may need to run "systemctl
daemon-reload" after this for the new unit files to pick up.
BTW: Please stop top-posting... It's very i
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 s
On Mon, Sep 26, 2016 at 12:00 PM, Raghavendra. H. R wrote:
> Andrei,
>
> How to set SYSTEMD_UNIT_PATH in Systemd ?
>
I already answered this in one of earlier replies.
> I checked about systemd source code in github. Please see this link
>
> https://github.com/search?q=org%3Asystemd+systemd_unit
Andrei,
How to set SYSTEMD_UNIT_PATH in Systemd ?
I checked about systemd source code in github. Please see this link
https://github.com/search?q=org%3Asystemd+systemd_unit_path&type=Code
Even in these source files they are doing getenv and setenv for
SYSTEMD_UNIT_PATH. I dont see any conf file
On Mon, Sep 26, 2016 at 10:59 AM, Raghavendra. H. R wrote:
> These are instructions which I tried.
>
> mkdir -p /BingoDast
> mount -t nfs -o nolock :/tftpboot/raghu/BingoDast /BingoDast
>
> export PATH=$PATH:/BingoDast/bin
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/BingoDast/lib
> export SYSTEMD_U
These are instructions which I tried.
mkdir -p /BingoDast
mount -t nfs -o nolock :/tftpboot/raghu/BingoDast /BingoDast
export PATH=$PATH:/BingoDast/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/BingoDast/lib
export SYSTEMD_UNIT_PATH=/BingoDast/units
echo $SYSTEMD_UNIT_PATH
/BingoDast/units
system
On Mon, Sep 26, 2016 at 10:06 AM, Raghavendra. H. R wrote:
> But SYTEMD_UNIT_PATH isn't working. I added my executables path for this env
> variable but whatever I add isn't reflected for this variable. If I do echo
Repeating this 100 times won't make it more clear. I already asked you
to paste e
But SYTEMD_UNIT_PATH isn't working. I added my executables path for this
env variable but whatever I add isn't reflected for this variable. If I do
echo of $SYSTEMD_UNIT_PATH. Its all empty. My executables are not able to
find the path and it is not running.
--
Regards,
Raghavendra. H. R
(Raghu)
I will explain you my problem statement.
I want to provide a piece of executable to my third party. Folder structure
of my output is something like this.
/BingoDast
|___
/BingoDast/bin/ ---> this contains exectuables
|___
/BingoDast/lib/ > this contains
Am Thu, 22 Sep 2016 11:43:56 +0530
schrieb "Raghavendra. H. R" :
> Thank you for the suggestions.
> But with this suggestion I need to run as user something like that.
>
> In normal init.d systems, we have environment variables like PATH &
> LD_LIBRARY_PATH.
> No matter where I place my new execu
On Thu, Sep 22, 2016 at 9:13 AM, Raghavendra. H. R
wrote:
> Thank you for the suggestions.
> But with this suggestion I need to run as user something like that.
>
> In normal init.d systems, we have environment variables like PATH &
> LD_LIBRARY_PATH.
> No matter where I place my new executable o
On Thu, Sep 22, 2016 at 9:18 AM, Raghavendra. H. R wrote:
> Thank you for the suggestions.
> But with this suggestion i.e., generator file, I again need to add/modify
> some files.
>
You need to add/modify some files to implement your service anyway. I
do not see how one more file is a problem so
Thank you for the suggestions.
But with this suggestion I need to run as user something like that.
In normal init.d systems, we have environment variables like PATH &
LD_LIBRARY_PATH.
No matter where I place my new executable or library, adding that path into
these environment variables is enough
Thank you for the suggestions.
But with this suggestion i.e., generator file, I again need to add/modify
some files.
All I'm looking into is I mount my binaries and unit files under /mnt. By
setting any environment variable like SYSTEMD_UNIT_PATH, systemd should
pick the unit files from /mnt and e
Am Wed, 21 Sep 2016 16:56:52 +0530
schrieb "Raghavendra. H. R" :
> Hi,
>
> I'm newbie with systemd boot system and I need help in resolving one
> issue.
>
> 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.
>
> I tried
21.09.2016 14:26, Raghavendra. H. R пишет:
> Hi,
>
> I'm newbie with systemd boot system and I need help in resolving one issue.
>
> 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.
>
> I tried by setting *Environment=S
Hi,
I'm newbie with systemd boot system and I need help in resolving one issue.
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.
I tried by setting *Environment=SYSTEMD_UNIT_PATH=/mnt *from the
console but it didnt help a
19 matches
Mail list logo