From 9e95ade334c374c6cdfa2fb4e5f9792e0f5c66eb Mon Sep 17 00:00:00 2001 From: catatsuy Date: Sun, 28 Apr 2024 17:14:57 +0900 Subject: [PATCH] Update nginx reload command to use systemctl restart --- provisioning/image/ansible/03_nginx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provisioning/image/ansible/03_nginx.yml b/provisioning/image/ansible/03_nginx.yml index 9a27a2522..23a29b91c 100644 --- a/provisioning/image/ansible/03_nginx.yml +++ b/provisioning/image/ansible/03_nginx.yml @@ -21,4 +21,4 @@ notify: reload nginx handlers: - name: reload nginx - shell: /usr/sbin/nginx -t && /etc/init.d/nginx reload + shell: /usr/sbin/nginx -t && sudo systemctl restart nginx