Ubuntu 18 新建、注册一个简单的服务(自动重启)

前言

Ubuntu 18.04 用 systemctl 命令来替换了 service 和 chkconfig 的功能。

Ubuntu 18 以前启动mysql服务:service mysql start

systemctl 方式:systemctl start mysqld.service

作为示例,本文将 SVN 注册成服务。

步骤

Table of Contents