Changeset 20031
- Timestamp:
- Oct 9, 2008, 1:41:47 PM (18 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 2 edited
-
Changes (modified) (1 diff)
-
bin/neb-admin (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/Changes
r20030 r20031 25 25 - change find_objects_with_unavailable_instances query to work on a 26 26 temporary table instead of directly on the mountedvol table 27 - change neb-admin to properly cleanup it's semaphore file 27 28 28 29 0.15 Thu Sep 11 13:00:59 HST 2008 -
trunk/Nebulous-Server/bin/neb-admin
r20030 r20031 3 3 # Copyright (C) 2005-2008 Joshua Hoblitt 4 4 # 5 # $Id: neb-admin,v 1.1 0 2008-10-09 23:27:44jhoblitt Exp $5 # $Id: neb-admin,v 1.11 2008-10-09 23:41:47 jhoblitt Exp $ 6 6 7 7 use strict; … … 51 51 # check to make sure that only one instance of neb-admin is running 52 52 my $pidfile = '/var/tmp/neb-admin'; 53 $SIG{TERM} = sub { unlink_pid_file($pidfile); exit(); };54 53 # abort if an instance is already running 54 END { unlink_pid_file($pidfile) }; 55 55 check_pid_file($pidfile); 56 56 create_pid_file($pidfile);
Note:
See TracChangeset
for help on using the changeset viewer.
