calling add user service
This commit is contained in:
parent
29a9b08573
commit
055744e7f7
4 changed files with 38 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
|
||||
module Setup
|
||||
require_relative '../templates'
|
||||
require_relative "../user"
|
||||
require_relative "../execute"
|
||||
# dat execute postgres
|
||||
# example.rcp
|
||||
|
||||
|
@ -28,8 +30,10 @@ module Setup
|
|||
version: context.version,
|
||||
database_dir: context.data_dir
|
||||
)
|
||||
puts service
|
||||
# puts service
|
||||
|
||||
user_context = Execute::UserInstallContext.new(context.user_name, :service)
|
||||
User.install(user_context)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue