aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ii/templates/ii_wrapper.pl
blob: da3a380f3910c6a5a206bc90a32d04d0c14db131 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl
use warnings;
use strict;
use Proc::Daemon;
my $nick = "<%= nick %>";
my $server = "<%= server %>";

Proc::Daemon::Init();
fork() || exec "ii -n $nick -i /var/lib/ii/$nick -s $server";
wait();