浏览代码

- Updated totify`s unit file to support enable

Parad0x 6 年之前
父节点
当前提交
9c018d3a86
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      systemd-unit/totify.service

+ 4 - 1
systemd-unit/totify.service

@@ -8,4 +8,7 @@ ExecStart=/home/totify/totify
 Restart=on-failure
 Restart=on-failure
 User=totify
 User=totify
 Group=totify
 Group=totify
-Environment="TELEGRAM_TOKEN="
+Environment="TELEGRAM_TOKEN="
+
+[Install]
+WantedBy=multi-user.target