rest-api-prototype/init/api-server.service

22 lines
643 B
SYSTEMD
Raw Permalink Normal View History

2022-04-23 21:11:04 +02:00
#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
2022-04-23 21:23:28 +02:00
ExecStop=/bin/kill $MAINPID
WorkingDirectory=/home/keedosn/go/src/git.pbiernat.dev/golang/rest-api-prototype
2022-04-23 21:11:04 +02:00
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
2022-04-23 21:11:04 +02:00
SyslogIdentifier=api-server
[Install]
WantedBy=multi-user.target