takama/daemon

A parameter for specifying systemd restart options would be useful

n2ux opened this issue · 1 comments

n2ux commented

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.