added useful systemd units

This commit is contained in:
Eric Lay 2023-06-14 17:59:53 -05:00
parent cec26faa0e
commit cc60730014
2 changed files with 24 additions and 0 deletions

13
aur-server.service Normal file
View File

@ -0,0 +1,13 @@
# /etc/systemd/system/minecraft-server.service
[Unit]
Description=Darkhttpd server to stand up personal aur build server
After=network.target
[Service]
WorkingDirectory=/home/ez/Aur
ExecStart=darkhttpd /home/ez/Aur --port 9139
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target

11
glances.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Glances
After=network.target
[Service]
ExecStart=/usr/bin/glances -w --fahrenheit
Restart=on-abort
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target