     }
     
     func run(on server: Server) throws {
+        if !server.fileExists(provider.serviceFilePath) {
+            try invoke("\(namespace):write-service")
+        }
         print("Starting \(provider.name)")
         try server.execute("service \(provider.namespace) start")
     }

            WriteServiceTask(provider: provider),
            StartTask(provider: provider),
            StopTask(provider: provider),
            RestartTask(provider: provider)
        ]
    }
    
}

    }
    
    func run(on server: Server) throws {
        if !server.fileExists(provider.serviceFilePath) {
            try invoke("\(namespace):write-service")
        }
        
