mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Various fixes needed to make app run (#125)
* Set permissions correctly to avoid warning when sudoing. * Using sudo here causes the service unit to fail, but it isn't needed anyway. Remove. * [fix] Typo ? * Revert sudo Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
This commit is contained in:
parent
b29e55d768
commit
967fbbc678
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ chmod u+x "/usr/local/bin/backup-with-$app"
|
|||
chown $app:$app "/usr/local/bin/backup-with-$app"
|
||||
|
||||
ynh_add_config --template="sudoer" --destination="/etc/sudoers.d/$app"
|
||||
chown root:root "/etc/sudoers.d/$app"
|
||||
|
||||
if [ ! -z "$server" ]; then
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue