nano-run/bundle/debian/nano-run.service

13 lines
263 B
SYSTEMD
Raw Normal View History

2020-09-10 10:11:34 +00:00
[Unit]
Description=Lightweight async request processor
[Service]
2020-09-11 12:09:51 +00:00
ExecStart=/usr/local/bin/nano-run server run -c /etc/nano-run/server.yaml
2020-09-10 10:11:34 +00:00
Restart=always
RestartSec=3
User=nano-run
Group=nano-run
2020-10-01 13:09:40 +00:00
Environment=GIN_MODE=release
2020-09-10 10:11:34 +00:00
[Install]
WantedBy=multi-user.target