Commit d942ca36 authored by Marc Vef's avatar Marc Vef
Browse files

Merge branch 'fix_startup_daemon_script' into 'master'

startup script: do not check for local daemon

See merge request zdvresearch_bsc/adafs!30
parents d3249536 47c03445
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -47,9 +47,6 @@ def shutdown_system(daemon_path, nodelist, sigkill):
    # get absolute paths
    daemon_path = os.path.realpath(os.path.expanduser(daemon_path))
    pssh_nodelist = ''
    if not os.path.exists(daemon_path) or not os.path.isfile(daemon_path):
        print '[ERR] Daemon executable not found or not a file'
        exit(1)
    nodefile = False
    if os.path.exists(nodelist):
        nodefile = True
+0 −3
Original line number Diff line number Diff line
@@ -49,9 +49,6 @@ def init_system(daemon_path, rootdir, mountdir, nodelist, cleanroot, numactl):
    mountdir = os.path.realpath(os.path.expanduser(mountdir))
    rootdir = os.path.realpath(os.path.expanduser(rootdir))
    pssh_nodelist = ''
    if not os.path.exists(daemon_path) or not os.path.isfile(daemon_path):
        print '[ERR] Daemon executable not found or not a file'
        exit(1)
    nodefile = False
    if os.path.exists(nodelist):
        nodefile = True