add more service examples
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
15
examples/var_service/gpm/run
Executable file
15
examples/var_service/gpm/run
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec >/dev/null
|
||||
exec 2>&1
|
||||
exec </dev/null
|
||||
|
||||
user=root
|
||||
options="-D -2 -m /dev/psaux -t ps2"
|
||||
#options="-D -2 -m /dev/ttyS0 -t bare"
|
||||
|
||||
exec \
|
||||
env - PATH="$PATH" \
|
||||
softlimit \
|
||||
setuidgid "$user" \
|
||||
gpm $options
|
Reference in New Issue
Block a user