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
base: develop
Are you sure you want to change the base?
Conversation
format
There was a problem hiding this 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() { |
There was a problem hiding this comment.
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@" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
Description
Fixes issues:
Proposed Changes:
Change Categories
Checklist
develop
branch and the PR is targetting thedevelop
branchTest scenarios
Architectures
amd64
armhf
arm64
✅❎ Passed
🛠🛠 TODO
❌❌ Currently failing