0
systemd沒有找到我的。服務文件systemd找不到我的。服務文件
[Unit]
Description=Game Server
[Service]
Type=simple
User=steam
Group=steam
Restart=on-failure
ExecStop=killall -TERM srcds_linux
[Install]
WantedBy=multi-user.target
其/lib/systemd/system/game.service
下保存。當我systemctl start csgo.service
它說Unit csgo.service failed to load: No such file or directory. See system logs and 'systemctl status csgo.service' for details.
心中已經做了systemctl --system daemon-reload
,它仍然沒有工作, 任何幫助表示讚賞:)