void-packages/srcpkgs/clockspeed/files/clockspeed_adjust/run
TJ Vanderpoel 3299466d7e New package: clockspeed-0.62
clockspeed: remove unused template variable

clockspeed: make arch-specific for x86/x86_64

* Add NOTES about what the package contains
* Add README and INSTALL to docs

clockspeed: depend on sv-helper for supervision
2015-02-25 13:59:47 -06:00

9 lines
288 B
Bash
Executable file

#!/bin/sh -e
# clockspeed_adjust/run
# "run" script for a clockspeed_adjust daemon
echo "*** Checking for clockspeed daemon..."
sv -w5 u clockspeed
exec 2>&1
echo "*** Starting clockspeed_adjust..."
chown clocksd /var/lib/clockspeed/adjust
exec chpst -u clocksd:nogroup ./clock_adjust.sh