在 2016年12月28日星期三 UTC+8上午11:11:47,Brandon Philips写道:
>
> Are you running fleetctl while ssh'd into a machine running fleet.service?
>
> Yes.
systemctl status fleet
● fleet.service - Fleet
   Loaded: loaded (/usr/lib/systemd/system/fleet.service; enabled; vendor 
preset: disabled)
   Active: active (running) since Mon 2016-12-19 12:08:57 CST; 1 weeks 2 
days ago
     Docs: https://github.com/coreos/fleet
 Main PID: 130593 (fleetd)
   Memory: 23.6M
   CGroup: /system.slice/fleet.service
           └─130593 /usr/bin/fleetd 

cat /usr/lib/systemd/system/fleet.service 
[Unit]
Description=Fleet
Documentation=https://github.com/coreos/fleet
[Service]
Type=simple
ExecStart=/usr/bin/fleetd
ExecStop=/usr/bin/killall -9 fleetd
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target

fleetctl list-units
Error retrieving list of units from repository: Get 
http://domain-sock/fleet/v1/state?alt=json: dial unix /var/run/fleet.sock: 
connect: no such file or directory

Reply via email to