标签:targe python2 des art files multi -- python emctl
[root@kunpeng82 ryu]# pwd /root/ryu [root@kunpeng82 ryu]# vi /etc/systemd/system/openflow.service [Unit] Description = openflow controler [Service] #ExecStart=/usr/local/bin/ryu-manager /usr/local/lib/python2.7/dist-packages/ryu/app/simple_switch_13.py ExecStart=/usr/local/bin/ryu-manager /root/ryu/ryu/ryu/app/simple_switch_13.py Restart=always Type=simple [Install] WantedBy=multi-user.target "/etc/systemd/system/openflow.service" 11L, 300C written [root@kunpeng82 ryu]# systemctl list-unit-files --type=service | grep openflow openflow.service disabled [root@kunpeng82 ryu]# systemctl start openflow [root@kunpeng82 ryu]# ps -alxg | grep ryu-manager 4 0 60138 1 20 0 167104 55104 ep_pol Ss ? 0:01 /bin/python3 /usr/local/bin/ryu-manager /root/ryu/ryu/ryu/app/simple_switch_13.py 0 0 60144 59968 20 0 110656 2496 pipe_w S+ pts/0 0:00 grep --color=auto ryu-manager
标签:targe python2 des art files multi -- python emctl
原文地址:https://www.cnblogs.com/dream397/p/13150796.html