Commit 71250385 authored by ajb3118's avatar ajb3118

Use systemd for service

parent 588f85a4
Pipeline #111060 failed with stages
in 14 seconds
......@@ -16,7 +16,8 @@ test:
deploy:
stage: deploy
script:
- systemctl stop simple-webapp.service
- mvn package
- sh target/bin/simplewebapp
- systemctl start simple-webapp.service
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment