Mise à jour du service pour utiliser le endpoint sur 127.0.0.1
Dans l'attente de mieux on utilise 127.0.0.1 de toute manière oned n'écoute que sur 127.0.0.1 ref #17085 @20m
This commit is contained in:
parent
ef3c6c5036
commit
bb18ec0520
|
@ -4,12 +4,13 @@ After=opennebula.service opennebula-sunstone.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
Environment=CREDS='/var/lib/one/.one/one_auth'
|
Environment=CREDS=/var/lib/one/.one/one_auth
|
||||||
|
Environment=ENDPOINT=http://127.0.0.1:2633/RPC2
|
||||||
TimeoutSec=1min
|
TimeoutSec=1min
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
Restart=no
|
Restart=no
|
||||||
ExecStart=/usr/share/eole/sbin/onevm-all -w -c ${CREDS} -a "resume"
|
ExecStart=/usr/share/eole/sbin/onevm-all -w -c ${CREDS} -e ${ENDPOINT} -a "resume"
|
||||||
ExecStop=/usr/share/eole/sbin/onevm-all -w -c ${CREDS} -a "suspend"
|
ExecStop=/usr/share/eole/sbin/onevm-all -w -c ${CREDS} -e ${ENDPOINT} -a "suspend"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue