mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
1fa0147e21
(cherry picked from commit 1a7fde7c120fea7872ec909141a7e7824dbff376) Signed-off-by: Alexander Wühr <awuehr@pnyhf.eu>
10 lines
No EOL
333 B
Bash
Executable file
10 lines
No EOL
333 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source ../settings/scripts/_common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
ynh_backup -s "$install_dir"
|
|
ynh_backup -s "/etc/nginx/conf.d/$domain.d/$app.conf"
|
|
ynh_backup -s "/etc/systemd/system/$app.service"
|
|
|
|
ynh_print_info --message="Backup script completed. (YunoHost will then actually copy those files to the archive)" |