Skip to content

Commit efce2ae

Browse files
committed
[code] restart service via pdsm
1 parent 2c124e6 commit efce2ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

roles/code/tasks/enable-or-disable.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@
1515
systemd:
1616
name: nginx
1717
state: reloaded
18+
when: not is_proot
19+
20+
- name: Restart 'nginx' via pdsm (proot)
21+
command: pdsm restart nginx
22+
when: is_proot

0 commit comments

Comments
 (0)