1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00

[fix] Use hooks directory

This commit is contained in:
root 2022-02-22 18:18:57 +01:00 committed by Galette
parent 2584774a41
commit 7f75aeb461
4 changed files with 0 additions and 3 deletions

View file

@ -62,9 +62,6 @@ setfacl -R -m g:all_users:rwx,d:g:all_users:rwx $datadir/share
ynh_script_progression --message="Adding a configuration file..." --time --weight=1 ynh_script_progression --message="Adding a configuration file..." --time --weight=1
ynh_add_config --template="smb.conf" --destination="/etc/samba/smb.conf" ynh_add_config --template="smb.conf" --destination="/etc/samba/smb.conf"
ynh_add_config --template="post_user_create" --destination="/etc/yunohost/hooks.d/post_user_create/$app"
ynh_add_config --template="post_user_delete" --destination="/etc/yunohost/hooks.d/post_user_delete/$app"
ynh_add_config --template="post_user_update" --destination="/etc/yunohost/hooks.d/post_user_update/$app"
#================================================ #================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST