我正在尝试为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) 我想在 Ubuntu Natty 上打开秘密文件,并在我的工作结束后删除打开文件的历史记录或任何记录的活动:
我该如何使用 GUI 或至少在终端中执行此操作。
谢谢!
我知道背景,只是想知道为什么 Canonical 做出这样的决定。