Renaming package to ShadowArch to follow /wiki/Design_Principles; improved packing; development sync to current state -- massive overhaul
This commit is contained in:
12
AdminScripts/restart-service
Executable file
12
AdminScripts/restart-service
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
if [ "$1" == "" ]; then
|
||||
echo Usage: $0 '[service(s)...]';
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
for i in $@; do
|
||||
systemctl daemon-reload
|
||||
systemctl restart $i
|
||||
sleep 3
|
||||
systemctl status -l $i | head -n 6
|
||||
done
|
Reference in New Issue
Block a user