systemd 找不到我的 .service 文件
[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
,它仍然无法正常工作,任何帮助表示赞赏:)