IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20031


Ignore:
Timestamp:
Oct 9, 2008, 1:41:47 PM (18 years ago)
Author:
jhoblitt
Message:

change neb-admin to properly cleanup it's semaphore file

Location:
trunk/Nebulous-Server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/Changes

    r20030 r20031  
    2525    - change find_objects_with_unavailable_instances query to work on a
    2626      temporary table instead of directly on the mountedvol table
     27    - change neb-admin to properly cleanup it's semaphore file
    2728
    28290.15 Thu Sep 11 13:00:59 HST 2008
  • trunk/Nebulous-Server/bin/neb-admin

    r20030 r20031  
    33# Copyright (C) 2005-2008  Joshua Hoblitt
    44#
    5 # $Id: neb-admin,v 1.10 2008-10-09 23:27:44 jhoblitt Exp $
     5# $Id: neb-admin,v 1.11 2008-10-09 23:41:47 jhoblitt Exp $
    66
    77use strict;
     
    5151# check to make sure that only one instance of neb-admin is running
    5252my $pidfile = '/var/tmp/neb-admin';
    53 $SIG{TERM} = sub { unlink_pid_file($pidfile); exit(); };
    5453# abort if an instance is already running
     54END { unlink_pid_file($pidfile) };
    5555check_pid_file($pidfile);
    5656create_pid_file($pidfile);
Note: See TracChangeset for help on using the changeset viewer.