1
0
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:
Vlastimil Holer 2021-03-16 17:40:21 +01:00 committed by GitHub
parent 71a1a76663
commit fb67699091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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