mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
d2730ede88
* remplace app instance name into hooks * update forgotten version number
12 lines
308 B
Bash
Executable file
12 lines
308 B
Bash
Executable file
#!/bin/bash
|
|
app=APPNAMETOCHANGE
|
|
app_path=/var/www/$app
|
|
|
|
myuser=$1
|
|
|
|
# Source app helpers
|
|
. /usr/share/yunohost/helpers
|
|
|
|
user_token=$(ynh_string_random)
|
|
sudo $app_path/cli/create-user.php --user $myuser --language en --token $user_token --no-default-feeds
|
|
sudo chown -R www-data: $app_path/data/users/$myuser/
|