1. 程式人生 > >harbor設定開機自啟

harbor設定開機自啟

[[email protected] 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