小编dan*_*max的帖子

新贵服务永远不会完全启动或停止

我正在尝试为teamspeak服务器制作一个简单的新贵脚本,但无法使其工作。

当我说initctl start它只是执行但永远不会完成甚至发出任何消息。stop也发生了同样的事情。

为了确保我没有做错任何事情,我复制了 cron 脚本并尝试运行它,但它发生了同样的情况。

我在这里做错了什么?

更新:

这是我的 TS3 脚本:

# myservice - myservice job file
description "my service description"
author "Me <myself@i.com>"

# Stanzas
#
# Stanzas control when and how a process is started and stopped
# See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas#respawn

# When to start the service
start on runlevel [2345]

# When to stop the service
stop on runlevel [016]

# Automatically restart process if crashed
respawn

# Essentially …
Run Code Online (Sandbox Code Playgroud)

upstart

11
推荐指数
1
解决办法
5503
查看次数

像在 Firefox 中一样删除最后几个小时的时代精神历史?

我想在 Ubuntu Natty 上打开秘密文件,并在我的工作结束后删除打开文件的历史记录或任何记录的活动:

  • 一小时
  • 三个小时
  • 一天
  • 一周
  • 等等...

我该如何使用 GUI 或至少在终端中执行此操作。

谢谢!

11.04 zeitgeist history

5
推荐指数
1
解决办法
2308
查看次数

4
推荐指数
1
解决办法
555
查看次数

标签 统计

11.04 ×1

design ×1

history ×1

plymouth ×1

upstart ×1

zeitgeist ×1