From a903156109a4b93ddb3bcd6fb1401f92f88056eb Mon Sep 17 00:00:00 2001 From: Varac Date: Wed, 19 Jul 2017 18:10:53 +0200 Subject: Use proper systemd user service for dashboard --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab245e1..37a6059 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,8 +20,7 @@ deploy: environment: name: production script: - - ssh dashboard@hare.leap.se "cd dashboard ; git pull" - - ssh dashboard@hare.leap.se "cd dashboard ; source credentials && bin/dashing stop ; bin/dashing start" + - ssh dashboard@hare.leap.se "cd ~/dashboard ; git pull; systemctl --user restart dashboard.service" before_script: # https://docs.gitlab.com/ce/ci/ssh_keys/README.html # Install ssh-agent if not already installed, it is required by Docker. -- cgit v1.2.3