更新systemd.service示例
This commit is contained in:
committed by
cloud-init created default user
parent
1ffa3da357
commit
170ea1e86a
@@ -6,10 +6,12 @@ Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Group=root
|
||||
User=root
|
||||
ExecStart=/opt/rclone/rclone mount onedrive:/demo /onedrive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 --vfs-cache-mode writes
|
||||
ExecReload=/bin/kill -SIGHUP $MAINPID
|
||||
ExecStop=umount /onedrive
|
||||
Restart=always
|
||||
PrivateTmp=true
|
||||
TimeoutStartSec=infinity
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user