/[adm]/puppet/modules/ii/templates/ii_wrapper.pl
ViewVC logotype

Contents of /puppet/modules/ii/templates/ii_wrapper.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2332 - (show annotations) (download)
Sun Jan 22 23:40:39 2012 UTC (12 years, 2 months ago) by misc
File MIME type: text/plain
File size: 289 byte(s)
fix function call
1 #!/usr/bin/perl
2 use warnings;
3 use strict;
4 use POSIX;
5 use Proc::Daemon;
6 my $nick = "<%= nick %>";
7 my $server = "<%= server %>";
8
9
10 Proc::Daemon::Init();
11 my (undef, undef, $uid) = getpwnam("nobody");
12 POSIX::setuid($uid);
13
14 fork() || exec "ii -n $nick -i /var/lib/ii/$nick -s $server";
15 wait();

Properties

Name Value
svn:keywords "ID Date Rev"

  ViewVC Help
Powered by ViewVC 1.1.30