1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #1733: Add OneFlow service wait loop for the secrets (#1740)

(cherry picked from commit 53136e9b4b517e5d56f6c70b0d3b782e19c03aa4)
This commit is contained in:
Vlastimil Holer 2018-02-13 17:24:53 +01:00 committed by Tino Vazquez
parent 8f384ebd0b
commit 387d3b0b07

View File

@ -7,6 +7,7 @@ After=network.target
Type=forking
Group=oneadmin
User=oneadmin
ExecStartPre=-/bin/bash -c 'for i in {1..20}; do test -f /var/lib/one/.one/oneflow_auth && break; sleep 1; done'
ExecStart=/usr/bin/oneflow-server start
ExecStop=/usr/bin/oneflow-server stop
PIDFile=/var/run/one/oneflow.pid