code: def server_prepare_root_bin_dir():
      '''Install custom commands for user root at '/root/bin/'.'''
      commands = ['run_backup']
      for command in commands:
          install_file_legacy(flo('/root/bin/{command}'), sudo=True)
          sudo(flo('chmod 755 /root/bin/{command}'))
          if command == 'run_backup':
              sudo('ln -snf /root/bin/run_backup /etc/cron.daily/run_backup'f server_prepare_root_bin_dir():
      '''Install custom commands for user root at '/root/bin/'.'''
      commands = ['run_backup']
      for command in commands:
          install_file_legacy(flo('/root/bin/{command}'), sudo=True)
          sudo(flo('chmod 755 /root/bin/{command}'))
          if command == 'run_backup':
              sudo('ln -snf /root/bin/run_backup /etc/cron.daily/run_backup')
docs: Install custom commands for user root at '/root/bin/'.