Paste-bin.xyz
Archive
Sign In
Login
Register
Username
Current Password
Keep me signed in.
Username
Full Name
Email
New Password
BASH
74
restart.sh
Guest on 25th April 2022 12:26:24 PM
#!/bin/sh
cd
/
var
/
www
/
server
ps
ax
|
awk
"{if (
\$
6==
\"
./ServerSpotBox.exe
\"
) print
\$
1}"
|
xargs
kill
nohup
mono .
/
ServerSpotBox.exe
&
Raw Paste
#!/bin/sh cd /var/www/server ps ax|awk "{if (\$6==\"./ServerSpotBox.exe\") print \$1}" | xargs kill nohup mono ./ServerSpotBox.exe &
Login
or
Register
to edit or fork this paste. It's free.