rest-api-prototype/init/api-server.service
Piotr Biernat 0fb494f0fd
All checks were successful
continuous-integration/drone/push Build is passing
[fix] systemd config update & http service fix
2022-04-25 00:12:49 +02:00

22 lines
643 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/golang/rest-api-prototype/build/server
ExecStop=/bin/kill $MAINPID
WorkingDirectory=/home/keedosn/go/src/git.pbiernat.dev/golang/rest-api-prototype
User=keedosn
Group=keedosn
NonBlocking=true
StandardOutput=append:/home/keedosn/go/src/git.pbiernat.dev/golang/rest-api-prototype/build/api-server.log
StandardError=append:/home/keedosn/go/src/git.pbiernat.dev/golang/rest-api-prototype/build/api-server.log
SyslogIdentifier=api-server
[Install]
WantedBy=multi-user.target