Bob Mottram 7 年之前
父節點
當前提交
81810058a9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-app-bdsmail

+ 1
- 1
src/freedombone-app-bdsmail 查看文件

239
     echo 'WantedBy=multi-user.target' >> /etc/systemd/system/bdsmail.service
239
     echo 'WantedBy=multi-user.target' >> /etc/systemd/system/bdsmail.service
240
     systemctl enable bdsmail
240
     systemctl enable bdsmail
241
     chown -R bdsmail:bdsmail /etc/bdsmail
241
     chown -R bdsmail:bdsmail /etc/bdsmail
242
-    systemctl start bdsmail
242
+    systemctl restart bdsmail
243
 
243
 
244
     echo '#!/usr/bin/env python2' > /etc/bdsmail/get_address
244
     echo '#!/usr/bin/env python2' > /etc/bdsmail/get_address
245
     echo 'import base64, hashlib, sys' >> /etc/bdsmail/get_address
245
     echo 'import base64, hashlib, sys' >> /etc/bdsmail/get_address