summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-06-12 07:09:30 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-06-12 07:09:30 +0300
commit2b6664995c19638a7df65b5a7762aa42adac8512 (patch)
treea85a9d0f189070bba0456de704cdfec4eb1b489a
parentfc35408ab60287a4e978ba93e61c2ded44342e7d (diff)
drop documentation about package.runit as runscript
-rwxr-xr-xdh_runit22
1 files changed, 3 insertions, 19 deletions
diff --git a/dh_runit b/dh_runit
index 13caec5..fa19763 100755
--- a/dh_runit
+++ b/dh_runit
@@ -15,7 +15,7 @@ no warnings 'experimental::signatures';
15 15
16=head1 SYNOPSIS 16=head1 SYNOPSIS
17 17
18B<dh_runit> [S<I<debhelper options>>] [B<--no-enable>] 18B<dh_runit> [S<I<debhelper options>>]
19 19
20=head1 DESCRIPTION 20=head1 DESCRIPTION
21 21
@@ -29,11 +29,7 @@ represented by directory under F</etc/sv>, containing at least F<run>
29executable file. Every enabled program is represented by symbolic link 29executable file. Every enabled program is represented by symbolic link
30under F</etc/services> pointing to some directory under F</etc/sv>. 30under F</etc/services> pointing to some directory under F</etc/sv>.
31 31
32If F<debian/I<package>.runit> is not executable, but contains shebang 32F<debian/I<package>.runit> is a list of lines, where
33(#!) in first line, it is installed as F</etc/sv/I<package>/run> and
34enabled.
35
36Alternatively, F<debian/I<package>.runit> is a list of lines, where
37every line is either starts with hash symbol and considered comment, 33every line is either starts with hash symbol and considered comment,
38or contains two or three space-separated words. 34or contains two or three space-separated words.
39 35
@@ -51,18 +47,6 @@ or contains two or three space-separated words.
51 # Also, you can explicitly specify name of directory under /etc/sv 47 # Also, you can explicitly specify name of directory under /etc/sv
52 enable path/to/directory my-preferred-name 48 enable path/to/directory my-preferred-name
53 49
54=head1 OPTIONS
55
56=over 4
57
58=item B<--no-enable>
59
60Do not enable any runscripts. Useful, when F<debian/I<package>.runit>
61is the only runscript, in which case you have no other ways to
62specify, that it should not be enabled.
63
64=back
65
66=cut 50=cut
67 51
68sub ensure_executable($directory) { 52sub ensure_executable($directory) {
@@ -76,7 +60,7 @@ sub runit_autoscript($pkg, $script, $sed) {
76 autoscript($pkg, $script, "$script-runit", $sed); 60 autoscript($pkg, $script, "$script-runit", $sed);
77} 61}
78 62
79init(option => { 'no-enable' => \$dh{NO_ENABLE} }); 63init();
80 64
81PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) { 65PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
82 next if is_udeb($pkg); 66 next if is_udeb($pkg);