Add system-info Linux systemd user unit
Update the `system-info` directory with the addition of a `systemd` service file and an new Linux script to display current CPU temperature and core/thread utilization. Update `.conduit.yaml` with addition `apt` dependencies `sysstat` and `jq`. Update the install and remove scripts to setup and tear down the `systemd` user unit. Lastly, decrease the `tmux` status line update interval from 5 to 2 seconds.
This commit is contained in:
@@ -5,4 +5,8 @@ script_dir=`dirname $0`
|
||||
if [ `uname` = Darwin ]; then
|
||||
cp $script_dir/system-info.plist ~/Library/LaunchAgents/system-info.plist
|
||||
launchctl load -w ~/Library/LaunchAgents/system-info.plist
|
||||
else
|
||||
cp $script_dir/system-info.service ~/.config/systemd/user/system-info.service
|
||||
systemctl --user enable system-info
|
||||
systemctl --user start system-info
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user