Fix Unit File Sections
This path fixes the SystemD unit file and relocates certain dependency
definitions to the Unit section.
@@ -317,7 +317,9 @@ func createUnitFile() {
const unitFileTemplate = `[Unit]
Description={{.BinFileName}}
+Wants=scini.service
Before=docker.service
+After=scini.service
[Service]
EnvironmentFile={{.EnvFilePath}}
@@ -327,9 +329,6 @@ KillMode=process
[Install]
WantedBy=docker.service
-Wants=scini.service
-Before=docker.service
-After=scini.service
`
func createInitFile() {
