This commit is contained in:
Quentin 2022-09-26 17:09:36 +02:00
parent 71d0d82361
commit c78e4f8005
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -109,6 +109,8 @@ bootstrap_peers = []
{to_toml(sect_admin)} {to_toml(sect_admin)}
""") """)
if shared.id() == 1:
shared.exec(f"{version['path']} --version")
shared.exec(f"{version['path']} server 2>> {storage_path}/logs.stderr 1>> {storage_path}/logs.stdout & echo $! > {storage_path}/daemon.pid") shared.exec(f"{version['path']} server 2>> {storage_path}/logs.stderr 1>> {storage_path}/logs.stdout & echo $! > {storage_path}/daemon.pid")
time.sleep(1) time.sleep(1)