rest-api-prototype/init/api-server.service
Piotr Biernat 41292b25e3
All checks were successful
continuous-integration/drone/push Build is passing
[feature] Added systemd support
2022-04-23 21:11:04 +02:00

18 lines
515 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
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