diff --git a/roles/phabricator/templates/aphlict_init b/roles/phabricator/templates/aphlict_init index 0c305e5..4a284fb 100644 --- a/roles/phabricator/templates/aphlict_init +++ b/roles/phabricator/templates/aphlict_init @@ -1,14 +1,15 @@ [Unit] Description=Aphlict Phabricator After=remote-fs.target [Service] Type=oneshot ExecStart={{ phabricator_path }}phabricator/bin/aphlict start ExecStop={{ phabricator_path }}phabricator/bin/aphlict stop User={{ phd_user }} Group={{ phd_user }} RemainAfterExit=yes +Environment="PATH=/opt/rh/rh-php72/root/usr/bin:/opt/rh/rh-php72/root/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin" [Install] WantedBy=multi-user.target diff --git a/roles/phabricator/templates/phd_init b/roles/phabricator/templates/phd_init index 79a6fec..a05bf66 100644 --- a/roles/phabricator/templates/phd_init +++ b/roles/phabricator/templates/phd_init @@ -1,16 +1,17 @@ [Unit] Description=PHD Phabricator After=remote-fs.target [Service] Type=oneshot RemainAfterExit=true ExecStart={{ phabricator_path }}phabricator/bin/phd launch 1 trigger ExecStart={{ phabricator_path }}phabricator/bin/phd launch 5 task ExecStart=/opt/pull-daemons.sh ExecStop={{ phabricator_path }}phabricator/bin/phd stop --force --graceful 5 User={{ phd_user }} Group={{ phd_user }} +Environment="PATH=/opt/rh/rh-php72/root/usr/bin:/opt/rh/rh-php72/root/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin" [Install] WantedBy=multi-user.target