[p4] Linux init scripts?
Kendall Bennett
KendallB at scitechsoft.com
Thu Jul 20 12:27:51 PDT 2000
nelson at popularpower.com (Nelson Minar) wrote:
> >Since there are other users who already have this set up under Linux,
> >does anyone else have startup script files for Linux that they can
> >send me?
>
> I'll attach what I use. I'll also attach a weekly cron job I run
> to verify Perforce, checkpoint the database.
Thanks! The weekly cron job was the next step after getting it all
going ;-)
> I'm not sure the "stop" for the init script quite works right.
> Both of these scripts have the same problem; they really run better
> as user "nelson", because I have administrator access to the depot.
> So the weekly cron job runs as me. When the p4d startup script runs
> as root it seems to work OK, but the "p4 admin stop" doesn't work
> as root. I'm sure there's a clever workaround.
Interesting. I will investigate this some more.
> >Also what user/group permissions should I set up for all the Perforce
> >files on the server for security reasons? Does the p4d server end up
> >running as root when you run it via rc.d, or is there a way to
> >specify that it run as a different users, say p4d or something?
>
> My script runs as user perforce.
>
> The huge security issue of perforce, btw, is it has very little in
> the way of application-level security. Don't run it on a machine
> that someone on the Internet could connect to.
Well the machine has to be on the internet, because it hosts our
public perforce server. We are locking the machine down as much as
possible to disable access from other systems, and it is also behind
our firewall. Hopefully it will be secure enough.
Regards,
+---------------------------------------------------------------+
| SciTech Software - Building Truly Plug'n'Play Software! |
+---------------------------------------------------------------+
| Kendall Bennett | Email: KendallB at scitechsoft.com |
| Director of Engineering | Phone: (530) 894 8400 |
| SciTech Software, Inc. | Fax : (530) 894 9069 |
| 505 Wall Street | ftp : ftp.scitechsoft.com |
| Chico, CA 95928, USA | www : http://www.scitechsoft.com |
+---------------------------------------------------------------+
More information about the perforce-user
mailing list