mdouchement / shigoto

A nextgen crontab.
MIT License
0 stars 0 forks source link

Stop Unix socket listener before removing socket file #2

Closed mdouchement closed 4 years ago

mdouchement commented 4 years ago

The socket file still exists on file system after stopping the daemon.

Close the following listener https://github.com/mdouchement/shigoto/blob/5884d9fbf7ba5853bb47971f6f686b3567bd67ef/internal/socket/shigoto.go#L39

Before removing the socket file https://github.com/mdouchement/shigoto/blob/5884d9fbf7ba5853bb47971f6f686b3567bd67ef/cmd/shigoto/daemon/command.go#L62