瀏覽代碼

server: remove transmission services

master
sentriz 7 月之前
父節點
當前提交
f7a8a20ef8
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 9A8DAE1CA907B862
共有 4 個檔案被更改,包括 0 行新增35 行删除
  1. +0
    -9
      conf_server/systemd/system/transmission-start.service
  2. +0
    -8
      conf_server/systemd/system/transmission-start.timer
  3. +0
    -10
      conf_server/systemd/system/transmission-stop.service
  4. +0
    -8
      conf_server/systemd/system/transmission-stop.timer

+ 0
- 9
conf_server/systemd/system/transmission-start.service 查看文件

@@ -1,9 +0,0 @@
[Unit]
Description=Start transmission container

[Service]
Type=oneshot
ExecStart=/bin/sh -c ' \
cd /opt/containers/transmission && \
docker-compose up -d \
'

+ 0
- 8
conf_server/systemd/system/transmission-start.timer 查看文件

@@ -1,8 +0,0 @@
[Unit]
Description=Run transmission-start.service daily

[Timer]
OnCalendar=*-*-* 7:40:00

[Install]
WantedBy=basic.target

+ 0
- 10
conf_server/systemd/system/transmission-stop.service 查看文件

@@ -1,10 +0,0 @@
[Unit]
Description=Stop transmission container

[Service]
Type=oneshot
ExecStart=/bin/sh -c ' \
cd /opt/containers/transmission && \
docker-compose down \
'


+ 0
- 8
conf_server/systemd/system/transmission-stop.timer 查看文件

@@ -1,8 +0,0 @@
[Unit]
Description=Run transmission-stop.service daily

[Timer]
OnCalendar=*-*-* 23:00:00

[Install]
WantedBy=basic.target

Loading…
取消
儲存