Files
go-file/app.service.example
T
2023-03-11 15:40:46 +08:00

14 lines
254 B
Plaintext

[Unit]
Description=go Application
After=network.target
[Service]
User=appruner
WorkingDirectory=APP_PATH
ExecStart=APP_PATH/app
StandardOutput=file:APP_PATH/app.out
StandardError=file:APP_PATH/app.err
Restart=always
[Install]
WantedBy=multi-user.target