mirror of
https://github.com/kardianos/service.git
synced 2025-10-04 16:32:45 +08:00
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
@@ -67,6 +67,9 @@ func main() {
|
||||
Name: "GoServiceExampleLogging",
|
||||
DisplayName: "Go Service Example for Logging",
|
||||
Description: "This is an example Go service that outputs log messages.",
|
||||
Dependencies: []string{
|
||||
"Requires=network.target",
|
||||
"After=network-online.target syslog.target"},
|
||||
}
|
||||
|
||||
prg := &program{}
|
||||
|
Reference in New Issue
Block a user