network-ups-tools: create /run/ups when service starts
This commit is contained in:
parent
80d56129ae
commit
82ce840224
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# Network UPS Tools - information server
|
||||
# upsmon will run in the foreground and prints information on stdout
|
||||
# upsd will run in the foreground and prints information on stdout
|
||||
install -d -m 0770 -o nut -g nut /run/ups
|
||||
exec upsd -D
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
# Network UPS Tools - driver controller
|
||||
install -d -m 0770 -o nut -g nut /run/ups
|
||||
exec upsdrvctl -D start
|
||||
|
|
Loading…
Reference in a new issue