Systemd/dep (#165)
* support the dependency config for linux systemd * remote the binary file incorrectly added
This commit is contained in:
committed by
Daniel Theophanes
parent
56787a3ea0
commit
0e5bec1b9e
@@ -228,6 +228,9 @@ func (s *systemd) Restart() error {
|
||||
const systemdScript = `[Unit]
|
||||
Description={{.Description}}
|
||||
ConditionFileIsExecutable={{.Path|cmdEscape}}
|
||||
{{range .Dependencies}}
|
||||
{{.}}
|
||||
{{end}}
|
||||
|
||||
[Service]
|
||||
StartLimitInterval=5
|
||||
|
||||
Reference in New Issue
Block a user