1
0
Fork 0
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:
Nolan Darilek 2022-03-23 09:57:17 -05:00 committed by ljf (zamentur)
parent b29e55d768
commit 967fbbc678

View file

@ -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
#=================================================