diff --git a/roles/phabricator/templates/phd_init b/roles/phabricator/templates/phd_init index 82cb449..c7b5a3a 100644 --- a/roles/phabricator/templates/phd_init +++ b/roles/phabricator/templates/phd_init @@ -1,14 +1,14 @@ [Unit] Description=PHD Phabricator After=remote-fs.target [Service] Type=forking -Restart=always +Restart=on-failure ExecStart={{ phabricator_path }}phabricator/bin/phd start ExecStop={{ phabricator_path }}phabricator/bin/phd stop User={{ phd_user }} Group={{ phd_user }} [Install] WantedBy=multi-user.target