Displaying 4 results from an estimated 4 matches for "pid_dir".
2009 May 27
3
This guy must be an idiot
OK, can someone tell me what utterly moronic thing I am doing wrong?
I have two roughly identical Linux system running NUT, and one works
properly. The other almost does. The second system works well once
everything is up, but after booting, the system does not have connectivity
to the UPS. I have to manually run `upsdrvctl start backup`,
`/etc/init.d/nut start`, and `upsd` to get NUT
2007 Feb 06
9
Shutdown problem with Geek Squad GS1285U
...d changed the paths to upsd and
upsmon and used it.
#! /bin/sh
#
# nut - Script to start and stop Network UPS Tools daemons
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
NAME=nut
DESC="Network UPS Tools"
DEFAULT=/etc/default/nut
[ -f $DEFAULT ] || exit 0
. $DEFAULT
pid_dir=/var/run/nut
upsmon_pid=${pid_dir}/upsmon.pid
upsd_pid=${pid_dir}/upsd.pid
upsd=/usr/local/ups/sbin/upsd
upsmon=/usr/local/ups/sbin/upsmon
upsdrvctl=/usr/local/ups/bin/upsdrvctl
log=">/dev/null 2>/dev/null"
# Check if /var/run/nut exists and has the correct perms
check_var_director...
2017 Jun 11
3
Help with Elite 800VA usb UPS
So....seems so better...
Each time I rebbot, I miss the /var/run/nut folder...
root at artu:~# upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.2
Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (2.7.2)
Can't chdir to /var/run/nut: No such file or directory
Driver failed to start (exit status=1)
root at artu:~# upsd
Network UPS Tools upsd 2.7.2
fopen
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts?
Dan
-------------- next part --------------
An embedded message was scrubbed...
From: "Patrick Hurley" <phurley at gmail.com>
Subject: Ruby Win32-Service
Date: Sun, 18 Jun 2006 12:46:01 -0400
Size: 2863
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml