Skip to content

Commit

Permalink
Fix YunoHost-Apps#119 : update run frequency with panel after install
Browse files Browse the repository at this point in the history
Option was honored at install-time but not at config-panel-time
  • Loading branch information
JocelynDelalande authored Oct 28, 2024
1 parent 9237c85 commit 9af9efd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/config
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ set__conf() {
fi
}

set__on_calendar() {
ynh_write_var_in_file --file="/etc/systemd/system/$app.timer" --key=OnCalendar --value="$on_calendar"
sudo systemctl daemon-reload
}

#=================================================
# GENERIC FINALIZATION
#=================================================
Expand Down

0 comments on commit 9af9efd

Please sign in to comment.