apache_restarter service: create dir

This commit is contained in:
Dmitry Belyaev 2021-06-22 17:23:29 +03:00
parent d91152fdfb
commit d1389abaf2
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -4,6 +4,7 @@ After=apache2.service
Wants=apache2.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
ExecReload=/bin/kill -HUP $MAINPID
Restart=always