add data source for nohup
parent
9608d6c6e0
commit
ede5262708
@ -0,0 +1,24 @@
|
||||
{
|
||||
"functions": {
|
||||
"shell": [
|
||||
{
|
||||
"code": "nohup /bin/sh -c \"sh <$(tty) >$(tty) 2>$(tty)\""
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
{
|
||||
"code": "nohup \"[command]\"\ncat nohup.out\n"
|
||||
}
|
||||
],
|
||||
"sudo": [
|
||||
{
|
||||
"code": "sudo nohup /bin/sh -c \"sh <$(tty) >$(tty) 2>$(tty)\""
|
||||
}
|
||||
],
|
||||
"suid": [
|
||||
{
|
||||
"code": "sudo nohup /bin/sh -p -c \"sh -p <$(tty) >$(tty) 2>$(tty)\""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue