1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00
duniter_ynh/scripts
Moul ac91efc755 [fix] Create 'duniter' user with --home-dir as \$datadir
as well with shell in order to be able to run duniter with systemd

So, the configuration get saved in (/home/yunohost.app/duniter) $datadir
with which the service will run with

The consequence of this was at least a broken BMA access due to the
absense of configuration

Run Duniter with 'duniter' user to apply the configuration
to get the config file with correct permissions, using
"ynh_exec_as duniter", an equivalent of su - duniter -c "$cmd"
2022-05-02 20:01:52 +02:00
..
_common.sh Apply last example_ynh 2022-03-12 16:55:59 +01:00
backup [mod] Precise progression message 2022-05-02 20:01:52 +02:00
change_url [mod] Precise progression message 2022-05-02 20:01:52 +02:00
install [fix] Create 'duniter' user with --home-dir as \$datadir 2022-05-02 20:01:52 +02:00
remove [mod] Remove functions.sh now useless 2022-05-02 20:01:52 +02:00
restore [fix] Create 'duniter' user with --home-dir as \$datadir 2022-05-02 20:01:52 +02:00
upgrade [fix] Create 'duniter' user with --home-dir as \$datadir 2022-05-02 20:01:52 +02:00