diff options
author | Varac <varac@leap.se> | 2017-07-19 18:10:53 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-07-19 18:10:53 +0200 |
commit | 4460c1cba9dc61a2ada3b8be8da5deb3e3cf268a (patch) | |
tree | dc78ee5d9ad97563bd99cc8aa695044ec5eb22ee | |
parent | e3628a944d0a54c1c4d4258ea896ed34e2c31dc2 (diff) |
Use proper systemd user service for dashboard
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 1 insertions, 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. |