nightingale1/etc/service/ams.service

21 lines
334 B
SYSTEMD
Raw Normal View History

2020-10-08 10:55:27 +08:00
[Unit]
Description=n9e ams
After=network-online.target
Wants=network-online.target
[Service]
# modify when deploy in prod env
User=root
Group=root
Type=simple
Environment="GIN_MODE=release"
ExecStart=/home/n9e/n9e-ams
WorkingDirectory=/home/n9e
Restart=always
RestartSec=1
StartLimitInterval=0
[Install]
WantedBy=multi-user.target