scaffold-goweb/misc/systemd/server.service.gotpl

11 lines
241 B
Plaintext
Raw Normal View History

2020-02-19 22:13:06 +01:00
[Unit]
Description={{ .ProjectName }}
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/server -workdir /usr/local/share/server -config /etc/server/config.yml
Restart=on-failure
[Install]
WantedBy=multi-user.target