Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

2 commits

Auteur SHA1 Message Date
John Smith
8a5c4543f8
Less code. 2017-05-28 19:57:12 +10:00
Jeff Becker
73f77f1624 properly handle os.Interrupt Signal
This makes systemd not put unit into fail mode when stopping

INFO:

* make sure to use signals.RegisterCloser for everything that should be closed on interrupt

* for any net.Listeners created make sure to wrap them with network.WrapListener and register with signals.RegisterCloser
2017-05-10 08:23:29 -04:00