forked from hiway/freedive
Fix permissions on data dir after running service commands as root
This commit is contained in:
parent
c0da209cac
commit
8c27138240
2 changed files with 4 additions and 0 deletions
|
@ -2,3 +2,5 @@
|
|||
# account_register
|
||||
|
||||
<%= @app_dir %>/bin/<%= @name %> eval "Freedive.Release.account_create"
|
||||
|
||||
chown -R <%= @user %>:<%= @group %> <%= @data_dir %>
|
||||
|
|
|
@ -2,3 +2,5 @@
|
|||
# password_reset
|
||||
|
||||
<%= @app_dir %>/bin/<%= @name %> eval "Freedive.Release.password_reset"
|
||||
|
||||
chown -R <%= @user %>:<%= @group %> <%= @data_dir %>
|
||||
|
|
Loading…
Reference in a new issue