File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/ksh -x
1
+ #! /bin/ksh
2
2
3
3
# {{ ansible_managed }}
4
4
5
5
datadir=" {{ rw_src }}"
6
6
7
7
{% if rw_signups == True %}
8
- env=" RUBYWARDEN_ENV={{ rw_env }} ALLOW_SIGNUPS=1 PATH=$PATH :{{ rw_home }}/rb/bin"
8
+ env=" RUBYWARDEN_ENV={{ rw_env }} ALLOW_SIGNUPS=1 PATH=$PATH :{{ rw_home }}/rb/bin HOME={{ rw_home }} "
9
9
{% else %}
10
- env=" RUBYWARDEN_ENV={{ rw_env }} PATH=$PATH :{{ rw_home }}/rb/bin"
10
+ env=" RUBYWARDEN_ENV={{ rw_env }} PATH=$PATH :{{ rw_home }}/rb/bin HOME={{ rw_home }} "
11
11
{% endif %}
12
12
daemon=" /usr/local/bin/bundle24"
13
13
daemon_flags=" exec rackup -p {{ rw_port }} config.ru"
@@ -16,7 +16,7 @@ daemon_user="{{ rw_user }}"
16
16
. /etc/rc.d/rc.subr
17
17
18
18
rc_start () {
19
- ${rcexec} " cd ~ /src && env ${env} ${daemon} ${daemon_flags} "
19
+ ${rcexec} " cd {{ rw_home }} /src && env ${env} ${daemon} ${daemon_flags} "
20
20
}
21
21
22
22
pexp=" ruby24 .*rackup -p {{ rw_port }} config.ru"
You can’t perform that action at this time.
0 commit comments