takama / daemon

A daemon package for use with Go (golang) services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A parameter for specifying systemd restart options would be useful

n2ux opened this issue · comments

currently the systemd configuration file template specifies Restart=on-abort. It would be useful to have this configurable via a parameter for daemon.New()

+1

Making templates like systemDConfig as exported could resolve this issue in some hacky way. But it can be used in more cases, like a user access settings and so on.