One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
backup
/
oldserver
/
2
/
bin
/
View File Name :
mono-service
#!/bin/sh args="" assembly= debug=false while test x$1 != x; do case $1 in -[ldnm]:*) args="$args$1 " ;; --debug) debug=true ;; --no-daemon) debug=true ;; *) assembly=$1; args="$args$assembly ";; esac shift done if test x$assembly = x; then echo You must specify at least the assembly name echo echo "Usage is: $0 [options] service" echo echo ' -d:<directory> Working directory' echo ' -l:<lock file> Lock file (default is /tmp/<service>.lock)' echo ' -m:<syslog name> Name to show in syslog' echo ' -n:<service name> Name of service to start (default is first defined)' echo ' --debug Do not send to background nor redirect input/output' echo ' --no-daemon Do not send to background nor redirect input/output' echo echo Controlling the service: echo echo ' kill -USR1 `cat <lock file>` Pausing service' echo ' kill -USR2 `cat <lock file>` Continuing service' echo ' kill `cat <lock file>` Ending service' echo exit 1 fi export MONO_DISABLE_SHM=1 if $debug; then exec /usr/bin/mono $MONO_OPTIONS /usr/lib/mono/4.0/mono-service.exe $args else exec /usr/bin/mono $MONO_OPTIONS /usr/lib/mono/4.0/mono-service.exe $args </dev/null >/dev/null 2>&1 & fi