Barrucadu / eihortstatus
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
c4ef4fe
commit c4ef4fe25518b86e59d13b9304151010b2412666
tree 394771815d8af7466ef0d8c7285c35a3293ab46e
parent 99b7e4b90085005b108d79e48440abc334da229f
tree 394771815d8af7466ef0d8c7285c35a3293ab46e
parent 99b7e4b90085005b108d79e48440abc334da229f
| name | age | message | |
|---|---|---|---|
| |
README.md | ||
| |
bind.php | ||
| |
design.php | ||
| |
disk.php | ||
| |
hardware.php | ||
| |
index.php | ||
| |
pacman.php | ||
| |
style.css | ||
| |
todo.php |
README.md
This is a server staus script for my Archlinux server. To use it you'll need to do a few things:
- Edit the commands in hardware.php, and install hddtemp
- Edit the name in design.php
- Use my blacklist/whitelist cronjobs
- Use my todo script (and specify the location in todo.php)
- Have a script to append text to a file.
- Edit the arrays in index.php
Set up a few sudo rules:
%http ALL=(ALL) NOPASSWD: /usr/sbin/hddtemp -n /dev/sda
%http ALL=(ALL) NOPASSWD: /etc/rc.d/* start
%http ALL=(ALL) NOPASSWD: /etc/rc.d/* stop
%http ALL=(ALL) NOPASSWD: /etc/rc.d/* restart
%http ALL=(ALL) NOPASSWD: /bin/cat /etc/named.conf
%http ALL=(ALL) NOPASSWD: /bin/sed -i * /etc/named.conf
%http ALL=(ALL) NOPASSWD: /bin/sed -i * /etc/dontblock
%http ALL=(ALL) NOPASSWD: /usr/local/bin/appendtext * /etc/named.conf
%http ALL=(ALL) NOPASSWD: /usr/local/bin/appendtext * /etc/dontblock
I think that's it. As you can see, it's quite focused on my server, nobody elses'.

