Implement service unloading.
[oweals/dinit.git] / doc / manpages / dinitctl.8
index cdb84e1ac97393e6cd1c7829fa53dbe1809ed1ab..0784e792648bcc3d962ad040400fe33d214ca3d2 100644 (file)
@@ -20,6 +20,9 @@ dinitctl \- control services supervised by Dinit
 [\-s] [\-\-quiet] unpin [\fIservice-name\fR]
 .br
 .B dinitctl
+unload [\fIservice-name\fR]
+.br
+.B dinitctl
 [\-s] list
 .\"
 .SH DESCRIPTION
@@ -70,6 +73,10 @@ has no active dependents, it will stop. If a started service has a dependency se
 it will stop. If a stopped service has a dependent service which is starting, it will start. Otherwise,
 any pending start/stop commands will be carried out.
 .TP
+\fBunload\fR
+Completely unload a service. This can only be done if the service is stopped and has no loaded dependents
+(i.e. dependents must be unloaded before their dependencies).
+.TP
 \fBlist\fR
 List loaded services and their state. Before each service, one of the following state indicators is
 displayed: