This file is indexed.

/etc/ikiwiki/plinth-wiki.setup is in plinth 0.24.0.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- mode: perl -*-
# Ikiwiki setup automator for Plinth.

require IkiWiki::Setup::Automator;

our $wikiname=$ARGV[0];
our $admin=$ARGV[1];
if (($wikiname eq "") || ($admin eq "")) {
    print "Usage: ikiwiki -setup /etc/ikiwiki/plinth-wiki.setup wiki_name admin_name";
    exit;
}

our $wikiname_short=IkiWiki::Setup::Automator::sanitize_wikiname($wikiname);

IkiWiki::Setup::Automator->import(
    wikiname => $wikiname,
    adminuser => [$admin],
    rcs => "git",
    srcdir => "/var/lib/ikiwiki/$wikiname_short",
    destdir => "/var/www/ikiwiki/$wikiname_short",
    repository => "/var/lib/ikiwiki/$wikiname_short.git",
    dumpsetup => "/var/lib/ikiwiki/$wikiname_short.setup",
    url => "/ikiwiki/$wikiname_short",
    cgiurl => "/ikiwiki/$wikiname_short/ikiwiki.cgi",
    cgiauthurl => "/ikiwiki-auth/$wikiname_short/ikiwiki.cgi",
    cgi_wrapper => "/var/www/ikiwiki/$wikiname_short/ikiwiki.cgi",
    add_plugins => [qw{goodstuff websetup httpauth}],
    rss => 1,
    atom => 1,
    syslog => 1,
)