gpt4 book ai didi

ubuntu - unit ark.service 加载不正确 :Exec format error

转载 作者:行者123 更新时间:2023-12-04 18:55:23 25 4
gpt4 key购买 nike

我将建立一个方舟服务,并在互联网上找到了一些可以帮助我的东西,但是当我启动它时出现错误。

错误:

Failed to start ark.service: Unit ark.service is not loaded properly:
Exec format error. See system logs and 'systemctl status ark.service'
for details.

方舟服务:
[Unit]
Description=ARK Survival Evolved
[Service]
Type=simple
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
User=ark
Group=ark
ExecStartPre=/home/ark/steamcmd +login anonymous +force_install_dir /home/ark/server +app_update 376030 +quit
ExecStart=/home/ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?listen?SessionName=example -server -log
ExecStop=killall -TERM srcds_linux
[Install]
WantedBy=multi-user.target

最佳答案

问题在这里:

ExecStop=killall -TERM srcds_linux

改为:
ExecStop=/bin/killall -TERM srcds_linux

关于ubuntu - unit ark.service 加载不正确 :Exec format error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53114166/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com