From d90286f741fd9a829fbf527733cffa3c1ccf578c Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Tue, 14 Apr 2020 20:06:23 +0200 Subject: [PATCH] Add consumer restart to deploy procedure --- deploy.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.php b/deploy.php index 61e39dc..b283493 100644 --- a/deploy.php +++ b/deploy.php @@ -46,10 +46,12 @@ task('assets:upload', function () { }); task('assets', ['assets:build', 'assets:upload']); +task('restart:consumer', 'systemctl --user restart keylighter-updater'); // [Optional] if deploy fails automatically unlock. after('deploy:failed', 'deploy:unlock'); after('deploy:symlink', 'cachetool:clear:opcache'); +after('deploy:symlink', 'restart:consumer'); // Migrate database before symlink new release. //before('deploy:symlink', 'database:migrate');