All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 8978b2d7 authored by Russ Fish's avatar Russ Fish

Slothd lock files were persisting and preventing startup.

parent 56d15b7a
......@@ -76,11 +76,16 @@ system("$BINDIR/rc/rc.syncserver shutdown");
print "Stopping slothd ...\n";
system("$BINDIR/rc/rc.slothd stop");
my $pidfile = "/var/run/slothd.pid";
unlink($pidfile) or
warn("Could not unlink $pidfile");
print "Stopping evproxy ...\n";
my $file = "/var/run/evproxy.pid";
system("kill `cat $file`")
if (-f $file && -s $file);
$pidfile = "/var/run/evproxy.pid";
system("kill `cat $pidfile`")
if (-f $pidfile && -s $pidfile);
unlink($pidfile) or
warn("Could not unlink $pidfile");
# Logfiles.
print "Cleaning logfiles ...\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment