diff --git a/init/api-server.service b/init/api-server.service index b41f2fe..f6519e2 100644 --- a/init/api-server.service +++ b/init/api-server.service @@ -7,6 +7,7 @@ Requires=api-server.socket [Service] ExecStart=/home/keedosn/go/src/git.pbiernat.dev/api-prototype/build/server +ExecStop=/bin/kill $MAINPID WorkingDirectory=/home/keedosn/go/src/git.pbiernat.dev/api-prototype User=keedosn Group=keedosn