diff --git a/scripts/config b/scripts/config index edb17a7..c6f974b 100644 --- a/scripts/config +++ b/scripts/config @@ -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 #=================================================