harbor设置开机自启
[root@bogon harbor]# vi /lib/systemd/system/harbor.service
[Unit]
Description=Redis
After=network.target
[Service]
ExecStart= /usr/local/harbor/docker-compose start
[Install]
WantedBy=multi-user.target
[root@bogon harbor]# vi /lib/systemd/system/harbor.service
[Unit]
Description=Redis
After=network.target
[Service]
ExecStart= /usr/local/harbor/docker-compose start
[Install]
WantedBy=multi-user.target