Skip to content

Commit

Permalink
daemon-reload after enabling bootstrap unit.
Browse files Browse the repository at this point in the history
  • Loading branch information
schakrava committed Dec 11, 2015
1 parent 59d037b commit d4d8914
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rockstor/scripts/initrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def enable_bootstrap_service(logging):
logging.info('updating rockstor-bootstrap systemd service')
shutil.copy(bs_src, bs_dest)
run_command([SYSCTL, 'enable', name])
run_command([SYSCTL, 'daemon-reload'])
return logging.info('Done.')
return logging.info('%s looks correct. Not updating.' % name)

Expand Down

0 comments on commit d4d8914

Please sign in to comment.