Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix - rclone upgrade, and added function #865

Open
wants to merge 21 commits into
base: develop
Choose a base branch
from

Conversation

ComputerByte
Copy link
Contributor

@ComputerByte ComputerByte commented May 4, 2022

Description

Fixes issues:

  • Un-tracked issue...

Proposed Changes:

  • Upgrader, functions, brought structure more in line with newer apps.

Change Categories

  • Project structure

Checklist

  • Branch was made off the develop branch and the PR is targetting the develop branch
  • Docs have been made OR are not necessary
    • PR link:
  • Changes to panel have been made OR are not necessary
    • PR link:
  • Code is formatted (See more)
  • Code conforms to project structure (See more)
  • Shellcheck isn't screaming (See more)
  • Prints to terminal are handled (See more)
  • I have commented my code, particularly in hard-to-understand areas
  • Testing was done
    • Tests created or no new tests necessary
    • Tests executed

Test scenarios

Architectures

amd64 armhf arm64 Unspecified
Focal
Bionic
Buster
Stretch
Raspbian

✅❎ Passed

🛠🛠 TODO

❌❌ Currently failing

Copy link
Member

@brettpetch brettpetch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shellcheck issues also must be resolved.

#!/bin/bash

# Install fuse
function _fuse() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This really doesn’t need to be its own function. It only needs to run on install.

fi

_restart_rclone() {
systemctl try-restart "rclone@"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try-restart rclone@ won’t work. You need to loop through the users.

#shellcheck source=sources/functions/utils
. /etc/swizzin/sources/functions/utils
#shellcheck source=sources/functions/rclone
. /etc/swizzin/sources/functions/rclone
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users are never defined if you’re going to be looping through them to restart the services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants