Skip to content

Commit 5c050ca

Browse files
committed
fix: cmd typo in nginx reload command
1 parent c402d21 commit 5c050ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ server {
213213
let test = await exec(`sudo nginx -t`);
214214
if (test.stderr.includes('test is successful')) {
215215
try {
216-
await exec(`sudo systemctl.reload nginx`);
216+
await exec(`sudo systemctl reload nginx`);
217217
console.log(`Nginx reloaded successfully for ${host}!`)
218218
response[host] = true
219219
} catch (reloadErr) {

0 commit comments

Comments
 (0)