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
--[[ | |
rootDir = "/opt/project" | |
this script is at /opt/project/sample.lua | |
if you want to lua sample.lua and require your custom lua module. | |
eg: | |
/opt/project/dep/lua/xxx.lua | |
/opt/project/dep/lib/lua/xxx.so # some lua module c lib | |
--]] |
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
#!/usr/bin/env python | |
# 设置 uid gid | |
kakaGID = grp.getgrnam('kaka')[2] | |
os.setgid(kakaGID) | |
kakaUID = pwd.getpwnam('kaka')[2] | |
os.setuid(kakaUID) | |
# geit root dir py |
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
var configFilename = [__dirname, "/config_.json"].join(''); |
NewerOlder