1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

documentation, cron filename

This commit is contained in:
Chris Vogel 2024-06-18 13:29:08 +02:00
parent 0f148b3fef
commit bd95c07f4d
2 changed files with 2 additions and 10 deletions

View file

@ -7,14 +7,6 @@ flohmarkt expects to install CouchDB from the Apache repository for its use. Ins
https://codeberg.org/flohmarkt/flohmarkt_ynh/src/commit/7721103bac61787f31a4b2f2ae695c65d4f26fc9/scripts/install#L9 https://codeberg.org/flohmarkt/flohmarkt_ynh/src/commit/7721103bac61787f31a4b2f2ae695c65d4f26fc9/scripts/install#L9
https://codeberg.org/ChriChri/flohmarkt_ynh/issues/9 https://codeberg.org/ChriChri/flohmarkt_ynh/issues/9
## choosing a sender email address
flohmarkt will send email and you'll be asked for an address used as the sender in these emails. yunohost will try to configure your chosen address as an allowed sender, but for the time being **this will only work if the sender address is not in use otherwise** - e.g. as an alias.
This [issue](https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/50) contains information about the problem.
There's a [pull request to yunohost](https://github.com/YunoHost/yunohost/pull/1843) open that should solve the problem.
## multiple flohmarkt on the same subdomain will not work ## multiple flohmarkt on the same subdomain will not work
flohmarkt **needs its own subdomain** to be installed on. Some of the discussion about this can be found here: flohmarkt **needs its own subdomain** to be installed on. Some of the discussion about this can be found here:

View file

@ -768,8 +768,8 @@ flohmarkt_ynh_urlwatch_cron() {
ynh_add_config --template="../conf/urlwatch_urls.yaml" \ ynh_add_config --template="../conf/urlwatch_urls.yaml" \
--destination="${flohmarkt_install}/urlwatch/urls.yaml" --destination="${flohmarkt_install}/urlwatch/urls.yaml"
ynh_add_config --template="../conf/urlwatch.cron" \ ynh_add_config --template="../conf/urlwatch.cron" \
--destination="/etc/cron.hourly/${flohmarkt_filename}" --destination="/etc/cron.hourly/${app}"
chown root:root "/etc/cron.hourly/${flohmarkt_filename}" chown root:root "/etc/cron.hourly/${app}"
chmod 755 "/etc/cron.hourly/${flohmarkt_filename}" chmod 755 "/etc/cron.hourly/${flohmarkt_filename}"
# run urlwatch once to initialize if cache file does not exist, # run urlwatch once to initialize if cache file does not exist,
# but if sending email fails (like on CI) just warn. We do not want # but if sending email fails (like on CI) just warn. We do not want