rest-api-prototype/init/api-server.service
Piotr Biernat 30ee6e8c39
All checks were successful
continuous-integration/drone/push Build is passing
[fix] systemd config updated
2022-04-23 21:23:28 +02:00

19 lines
543 B
Desktop File

#FIXME: FIX PATHS
[Unit]
Requires=network-online.target
After=network-online.target
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
NonBlocking=true
StandardOutput=append:/home/keedosn/go/src/git.pbiernat.dev/api-prototype/build/err.log
StandardError=append:/home/keedosn/go/src/git.pbiernat.dev/api-prototype/build/err.log
SyslogIdentifier=api-server