added useful systemd units
This commit is contained in:
parent
cec26faa0e
commit
cc60730014
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue