1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00

Python->Go migration: also remove signald group

This commit is contained in:
Mayeul Cantan 2024-04-28 21:57:33 +02:00
parent 120cb079fa
commit 87274edcf1

View file

@ -34,8 +34,11 @@ ynh_secure_remove --file="$signald_exe"
# Remove signald data # Remove signald data
ynh_secure_remove --file="$signald_data" ynh_secure_remove --file="$signald_data"
# Remove signald system user # Remove signald system user and group
ynh_system_user_delete --username=$signald_user ynh_system_user_delete --username=$signald_user
if ynh_system_group_exists --group="$signald_user"; then
groupdel "$signald_user"
fi
#================================================= #=================================================