systemctl的自定义任务笔记

Bruce / 2023-05-03 / 原文

systemctl start myservice@xxx
这种启动命令中的xxx可以在/etc/systemd/system/myservice@.service文件中替代%i的变量:
https://superuser.com/a/393429