许多次,因为各种原因,海神坠毁了。当诺氏船坠毁时,它就会因松脆而坠毁。唯一的办法回来康克和活跃的桌面是启动诺迪和康奇从终端。
一些人建议使用Upstart。但是,对于我来说,暴发户的烹饪书太重了,因为我是一个Windows用户,而且我不习惯cli/..conf。
如果有人能给我真正需要改变的东西,那将是一个很大的帮助。也就是说,尽管我将尝试弄清楚如何使用upstart守护进程来工作。
发布于 2013-03-29 17:45:30
#!upstart
description "Conky"
# Start job via the daemon control script. Replace "soham" with your username.
exec su -l soham -c 'export DISPLAY=:0; /usr/bin/conky'
# Restart the process if it dies with a signal
# or exit code not given by the 'normal exit' stanza.
respawn
# Give up if restart occurs 10 times in 30 seconds.
respawn limit 15 30现在登录后: sudo启动conky
#!upstart
description "nautilus"
# Start job via the daemon control script. Replace "soham" with your username.
exec su -l soham -c 'export DISPLAY=:0; /usr/bin/nautilus'
# Restart the process if it dies with a signal
# or exit code not given by the 'normal exit' stanza.
respawn
# Give up if restart occurs 10 times in 30 seconds.
respawn limit 15 30https://askubuntu.com/questions/274591
复制相似问题