mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
M #-: Enforce custom library path for guacd (#983)
This commit is contained in:
parent
71a1a76663
commit
fb67699091
@ -26,5 +26,8 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH=/usr/share/one/guacd/lib
|
||||||
|
export LD_LIBRARY_PATH
|
||||||
|
|
||||||
msg "Service started!"
|
msg "Service started!"
|
||||||
exec /usr/share/one/guacd/sbin/guacd -f $OPTS
|
exec /usr/share/one/guacd/sbin/guacd -f $OPTS
|
||||||
|
@ -5,6 +5,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-/etc/one/guacd
|
EnvironmentFile=-/etc/one/guacd
|
||||||
Environment=HOME=/var/lib/one
|
Environment=HOME=/var/lib/one
|
||||||
|
Environment=LD_LIBRARY_PATH=/usr/share/one/guacd/lib
|
||||||
ExecStart=/usr/share/one/guacd/sbin/guacd -f $OPTS
|
ExecStart=/usr/share/one/guacd/sbin/guacd -f $OPTS
|
||||||
StartLimitInterval=60
|
StartLimitInterval=60
|
||||||
StartLimitBurst=3
|
StartLimitBurst=3
|
||||||
|
Loading…
Reference in New Issue
Block a user