1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/open-web-calendar_ynh.git synced 2024-09-03 19:56:09 +02:00

Merge pull request #3 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-02-16 09:28:53 +01:00 committed by GitHub
commit c91c351c35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
It shall NOT be edited by hand.
-->
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Embed a highly customizable web calendar into your website using ICal source links.
**Shipped version:** 1.25~ynh1
**Shipped version:** 1.26~ynh1
**Demo:** https://open-web-calendar.hosted.quelltext.eu/
@ -45,4 +45,4 @@ or
sudo yunohost app upgrade open-web-calendar -u https://github.com/YunoHost-Apps/open-web-calendar_ynh/tree/testing --debug
```
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -1,5 +1,5 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
It shall NOT be edited by hand.
-->
@ -18,7 +18,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Intégrez un calendrier Web hautement personnalisable dans votre site Web à l'aide des liens sources ICal.
**Version incluse :** 1.25~ynh1
**Version incluse :** 1.26~ynh1
**Démo :** https://open-web-calendar.hosted.quelltext.eu/

View file

@ -1,5 +1,5 @@
[Unit]
Description=Small description of the service
Description=Open Web Calendar
After=network.target
[Service]

View file

@ -7,7 +7,7 @@ name = "Open Web Calendar"
description.en = "Embed a web calendar into your own website"
description.fr = "Intégrez un calendrier Web à votre propre site Web"
version = "1.25~ynh1"
version = "1.26~ynh1"
maintainers = ["eric_G"]
@ -43,8 +43,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/niccokunzmann/open-web-calendar/archive/refs/tags/v1.25.tar.gz"
sha256 = "cbbd510937f6a7eb4aca68ea1c7d32e656411779aa2f0c597453a09ef87d8de2"
url = "https://github.com/niccokunzmann/open-web-calendar/archive/refs/tags/v1.26.tar.gz"
sha256 = "efc018098a6f5670348b5fd0a0ac724beac2e35f9c3204815ff1096c439d7c7e"
autoupdate.strategy = "latest_github_tag"
[resources.system_user]

View file

@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd"
#=================================================
# MODIFY URL IN NGINX CONF
@ -32,7 +32,7 @@ ynh_change_url_nginx_config
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
#=================================================
# END OF SCRIPT

View file

@ -64,7 +64,7 @@ popd
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
#=================================================
# END OF SCRIPT

View file

@ -39,7 +39,7 @@ yunohost service add "$app" --description="Customizable web calendar" --log="/va
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
### Typically you only have either $app or php-fpm but not both at the same time...
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
ynh_systemd_action --service_name=nginx --action=reload

View file

@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd"
#=================================================
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)
@ -67,7 +67,7 @@ chown "$app:$app" "$install_dir/app.json"
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
#=================================================
# END OF SCRIPT