apache_restarter service: create dir
This commit is contained in:
parent
d91152fdfb
commit
d1389abaf2
@ -4,6 +4,7 @@ After=apache2.service
|
|||||||
Wants=apache2.service
|
Wants=apache2.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
ExecStartPre=/usr/bin/install -m 777 -d /run/apache_restart
|
||||||
ExecStart=/usr/bin/env python3 /path/apache_restarter.py /run/apache_restart/apache_restart
|
ExecStart=/usr/bin/env python3 /path/apache_restarter.py /run/apache_restart/apache_restart
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
|
Loading…
Reference in New Issue
Block a user