Skip to content

Commit 39284cb

Browse files
committed
wip
1 parent 2eb1684 commit 39284cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nodebb.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ public function setup( $args ) {
104104
"admin:password" => $options['nodebb_password'],
105105
"admin:password:confirm" => $options['nodebb_password'],
106106
"admin:email" => $options['nodebb_email']
107-
] ) . "'";
107+
] ) . "'\n";
108+
$setup .= "./nodebb stop && ./nodebb start\n";
108109
file_put_contents( $nodebb_folder . '/setup.sh', $setup );
109110
$cmd = 'runuser -s /bin/bash -l ' . $user . ' -c "cd ' . $nodebb_folder . ' && source setup.sh"' . "\n";
110111
$cmd .= '#rm -f ' . $nodebb_folder . 'setup.sh';

0 commit comments

Comments
 (0)