-
-
Save axilleas/866483d8b810c4169b480c3af2c6e7e5 to your computer and use it in GitHub Desktop.
/etc/init.d/xvfb
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
root@ci:/etc/init.d# cat Xvfb | |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: Xvfb | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: | |
# X-Start-Before: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: | |
### END INIT INFO | |
N=/etc/init.d/Xvfb | |
set -e | |
case "$1" in | |
start) | |
Xvfb :1 -screen 0 1024x768x24 & | |
;; | |
stop|reload|restart|force-reload) | |
;; | |
*) | |
echo "Usage: $N {start|stop|restart|force-reload}" >&2 | |
exit 1 | |
;; | |
esac | |
exit 0 | |
root@ci:/etc/init.d# |
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 | |
### BEGIN INIT INFO | |
# Provides: Xvfb | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: | |
# X-Start-Before: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: | |
### END INIT INFO | |
N=/etc/init.d/Xvfb | |
set -e | |
case "$1" in | |
start) | |
Xvfb :1 -screen 0 1024x768x24 & | |
;; | |
stop|reload|restart|force-reload) | |
;; | |
*) | |
echo "Usage: $N {start|stop|restart|force-reload}" >&2 | |
exit 1 | |
;; | |
esac | |
exit 0 | |
root@ci:/etc/init.d# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment