Parent Directory | Revision Log
add a custom wrapper for running ii, since it doesn't react like a regular daemon, and doing this with simple shell command is too tedious.
1 | #!/usr/bin/perl |
2 | use warnings; |
3 | use strict; |
4 | use Proc::Daemon; |
5 | my $nick = "<%= nick %>"; |
6 | my $server = "<%= server %>"; |
7 | |
8 | Proc::Daemon::Init(); |
9 | fork() || exec "ii -n $nick -i /var/lib/ii/$nick -s $server"; |
10 | wait(); |
Name | Value |
---|---|
svn:keywords | "ID Date Rev" |
ViewVC Help | |
Powered by ViewVC 1.1.30 |