]> git.giacomolli.uk - onechat/blob - nix/onechat.service
Check error handling and common Go mistakes
[onechat] / nix / onechat.service
1 [Unit]
2 Description=OneChat daemon
3
4 [Service]
5 Type=exec
6 ExecStart=@onechat@ daemon
7 WorkingDirectory=%h
8 Restart=on-failure
9 RestartSec=5s
10 KillSignal=SIGTERM
11 KillMode=mixed
12 TimeoutStopSec=120s
13 UMask=0077
14 StandardOutput=journal
15 StandardError=journal
16
17 [Install]
18 WantedBy=default.target