add to systemd:小型命令行工具可简单地将服务添加到systemd 源码

terrific_83592 9 0 ZIP 2021-04-08 06:04:39

添加到系统 小型命令行工具,可简单地将服务添加到systemd npm install -g add-to-systemd 用法 # add a node server to systemd (will start it on boot) add-to-systemd my-new-service " $( which node ) server.js --port 8080 " # lets start it right away systemctl start my-new-service 选项的完整列表包括 Usage: add-to-systemd name [options] command... --user, -u [user] User the service will run as --cwd, -c [dir] Set the c

用户评论
请输入评论内容
评分:
暂无评论