Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Pk::Build::Recipe::ServiceDef
Inherits
Struct
<
Value
<
Object
Constructors
new
(name :
String
= "", command :
String
= "", service_type :
String
= "simple", restart :
String
= "on-failure", target :
String
= "default", dependencies :
Array
(
String
) = [] of
String
)
Source
Instance methods
command
Source
command=
(command :
String
)
Source
dependencies
Source
dependencies=
(dependencies :
Array
(
String
))
Source
name
Source
name=
(name :
String
)
Source
restart
Source
restart=
(restart :
String
)
Source
service_type
Source
service_type=
(service_type :
String
)
Source
target
Source
target=
(target :
String
)
Source