This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <service> | |
| <id>redis</id> | |
| <name>redis</name> | |
| <description>redis server</description> | |
| <workingdirectory>d:\redis</workingdirectory> | |
| <logpath>d:\redis\logs</logpath> | |
| <logmode>rotate</logmode> | |
| <executable>redis-server.exe</executable> | |
| <startargument>redis.windows.conf</startargument> | |
| <stopexecutable>taskkill.exe</stopexecutable> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| color 1F | |
| %windir%\system32\reg.exe query "HKU\S-1-5-19" >nul 2>&1 || ( | |
| echo ------- | |
| echo *** WARNING *** | |
| echo ------- | |
| echo. | |
| echo ADMINISTRATOR PRIVILEGES NOT DETECTED | |
| echo ____________________________________________________________________________ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if WScript.Arguments.Count = 0 then | |
| WScript.Echo "Missing parameters" | |
| else | |
| strTargetPath = WScript.Arguments.item(0) | |
| Set objFSO = CreateObject("Scripting.FileSystemObject") | |
| Set objFile = objFSO.GetFile(strTargetPath) | |
| strBaseName = objFSO.GetBaseName(objFile) | |
| strTargetFolder = objFSO.GetParentFolderName(objFile) | |
| set WshShell = WScript.CreateObject("WScript.Shell") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <service> | |
| <id>shadowsocks</id> | |
| <name>shadowsocks</name> | |
| <description>shadowsocks</description> | |
| <executable>node</executable> | |
| <startargument>sslocal</startargument> | |
| <log mode="none"/> | |
| </service> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # aria2 ariac server | |
| # | |
| # chkconfig: 345 70 30 | |
| # description: ariac server | |
| # processname: aria2c | |
| Prgmname="/usr/bin/aria2c" | |
| shortname="aria2c" |
NewerOlder