Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

mysql的官方文档
使用systemd启动服务器
为systemdtmpfiles功能添加配置文件 。该文件被命名 mysql.conf并放置在中 /usr/lib/tmpfiles.d

shell> cd /usr/lib/tmpfiles.d
shell> touch mysql.conf
shell> chmod 644 mysql.conf

将此配置信息添加到 mysql.conf文件中:

   d /usr/local/mysql/data 0750 mysql mysql  -

这个配置干什么用的?在百度上查了半天查不到...
感谢各位前辈


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

图片.png

译:在本例中,systemd将创建 /run/httpd/run/httpd/htcacheclean,如果它们还未存在,则将给定权限、uid和gid分配给它们。

更加完整的列表

图片.png

参考来源:


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...