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

posted @ 2018-12-03 21:40  effortsing  阅读(4222)  评论(0编辑  收藏  举报