fix socket
This commit is contained in:
parent
b7d4b8b182
commit
314cbd37c7
1 changed files with 2 additions and 1 deletions
|
|
@ -85,13 +85,14 @@ After=network.target
|
|||
Type=simple
|
||||
WorkingDirectory=%s
|
||||
EnvironmentFile=%s
|
||||
ExecStartPre=/usr/bin/rm -f %s
|
||||
ExecStart=%s
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
`, p.Name, dataDir, envPath, binaryPath)
|
||||
`, p.Name, dataDir, envPath, socketPath, binaryPath)
|
||||
|
||||
homeDir, err := homeForUnixUser(p.UnixUser)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue