Make service configuring correct for rpm
This commit is contained in:
@@ -10,6 +10,7 @@ ExecStart=/usr/local/hestia/php/sbin/php-fpm --fpm-config /usr/local/hestia/php/
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
ExecStop=/bin/kill -TERM $MAINPID
|
||||
ExecStartPre=/bin/bash -c "/bin/systemctl set-environment HOSTNAME=$(/usr/bin/hostname)"
|
||||
ExecStartPre=/bin/bash -c "[ -e /usr/local/hestia/bin/v-oneshot-service ] && /usr/local/hestia/bin/v-oneshot-service"
|
||||
Environment="HESTIA=/usr/local/hestia"
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user