blob: bac39ba7337ca6329eace4aac039986cd931460d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=mediocregopher's sysstats
Requires=network.target
After=network.target
[Service]
Restart=always
RestartSec=1s
User=mediocregopher
ExecStart=/bin/bash -c 'while [ 1 ]; do out=$(~/.config/awesome/bin/sysstats.sh); echo "$out" > /tmp/sysstats; sleep 1; done'
[Install]
WantedBy=multi-user.target
|