镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-07 23:16:47 +00:00
refactor: remove part of unneeded files
这个提交包含在:
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Delete garbage subvolumes generated by tunasync
|
||||
Requires = network.target
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/tuna/.virtualenvs/tunasync/bin/python -u /home/tuna/tunasync/tunasync_snapshot_gc.py -c /etc/tunasync.ini
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
@@ -1,8 +0,0 @@
|
||||
[Unit]
|
||||
Description=TUNAsync GC every 10 minutes
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=10min
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description = TUNA mirrors sync daemon
|
||||
Requires = network.target
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
ExecStart = /home/tuna/.virtualenvs/tunasync/bin/python -u /home/tuna/tunasync/tunasync.py -c /etc/tunasync.ini
|
||||
KillSignal = SIGTERM
|
||||
ExecReload = /bin/kill -SIGUSR1 $MAINPID
|
||||
Environment = "HOME=/home/tuna"
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
在新工单中引用
屏蔽一个用户