ubuntu systemctl generated and enabled

问题描述

不知道是否有同我一样作死(被逼无奈)的人,反复安装某一个软件,导致在systemctl enable service 的时候,无论如何都无法将服务设置成开机启动。
我只是单纯的在安装grafana 的过程中走了一些弯路,详见我的另外一篇博客 http://blog.csdn.net/hsdfz0201/article/details/77480810
不知道中间做了什么,这个服务无论如何设不成enabled ,反而告诉我他的状态是generated

问题表象

具体的表象是

(python2.7) xxx@ubuntu:/lib/systemd/system$ sudo systemctl status grafana-server
   grafana-server.service - Grafana instance
   Loaded: loaded (/usr/lib/systemd/system/grafana-server

你可能感兴趣的:(网络测试,后端运维,ubuntu,systemd,enabled,generated)