Adding Admin and Shared scripts

This commit is contained in:
DarkFeather
2016-11-09 22:25:00 -06:00
parent 5ea18518ef
commit ce8320ce2e
20 changed files with 211 additions and 0 deletions

7
Admin/restart-service Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [ "$1" == "" ]; then echo Need a service name ; exit; fi
systemctl daemon-reload
systemctl restart $1
sleep 3
systemctl status -l $1