我以前通过SSH访问它,但是我想用zsh而不是bash连接到它。
我在语法NAS上犯了个错误:
我删除了指向/bin/sh的/bin/bash符号链接,以将其替换为/bin/zsh,但从那时起,我无法使用SSH连接到它:
$ ssh synology.local
martin@synology.local's password:
/bin/sh: No such file or directory
Connection to synology.local closed.
我不知道怎样才能解决这个问题..。
我有下面的脚本。
#!/bin/bash
if [ "$EUID" -ne 0 ]
then
echo ''
echo -e "\e[1;31m Please run the script as root \e[0m"
echo ''
exit
fi
for run in {1..11}
do
echo -e '\e[1;32m Initializing AP in backfround... \e[0m'
sudo screen -dmS hot
我已经使用多语言App Toolkit翻译了我的程序,但当我尝试使用Azure Devops Pipeline构建它时,我得到: ##[warning]ITCO-DMS\ITCO_DMS.csproj(198,5): Warning : ITCO_DMS.csproj is Multilingual build enabled, but the Multilingual App Toolkit is unavailable during the build. If building with Visual Studio, please check to ensure that toolkit
似乎出于某种原因,使用LetsEncrypt生成的证书不会由最新的Synology自动更新。
我试过CLI,但失败了
sudo syno-letsencrypt renew-all -v
DEBUG: [syno.example.com] is not a subdomain of [my-syno.synology.me]
DEBUG: DDNS Curl: [https://ddns.synology.com/main.php?_=letsencrypt%2Fdelete&hostname=syno.example.com&myds_id=696423&auth_
我已经可以观看节目,但启动脚本不起作用。停止脚本工作得很好。
当monit试图启动它时,它只是说执行失败。
Monit部分
check process tsdnsserver
matching "tsdnsserver"
start program = "/bin/bash -c '/root/ts3/tsdns/stop.sh'"
stop program = "/bin/bash -c '/root/ts3/tsdns/stop.sh'"
if failed port 41144 type tc
SonarQube无法在Synology上启动,因为CONFIG_SECCOMP不在Synology上。在SonarQube启动ElasticSearch时,是否可以忽略SECCOMP?
2022-11-26T11:00:50.430590094Z stdout java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
2022-11-26T
我在这里遇到的问题是,当机器人通过成员并发送消息时,当用户关闭dms时,它就会停止通过它们。
我喜欢它,所以它继续通过会员后,与dms打下来。
代码:
@client.command()
async def pd(ctx):
try:
for m in client.get_all_members():
await m.send(ad)
print(f"received the ad")
except:
print(f" has [DM] `off`")
这就是用dms击倒一个成员后的样子。终端:
bot