浏览代码

update systemd

bigeagle 11 年之前
父节点
当前提交
6e667b8a03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      systemd/tunasync-snapshot-gc.service

+ 1 - 1
systemd/tunasync-snapshot-gc.service

@@ -4,7 +4,7 @@ Requires = network.target
 After = network.target
 
 [Service]
-Type=simple
+Type=oneshot
 ExecStart=/home/tuna/.virtualenvs/tunasync/bin/python -u /home/tuna/tunasync/tunasync_snapshot_gc.py -c /etc/tunasync.ini
 
 [Install]