install.fairie/home/Library/LaunchDaemons/rclone.user.plist.tmpl
2023-08-30 15:58:51 -04:00

23 lines
No EOL
715 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>rclone.user</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/rclone-mount</string>
<string>user</string>
<string>{{ .user.username }}</string>
<string>s3</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Users/{{ .user.username }}/.local/share/rclone/user-daemon.error.log</string>
<key>StandardOutPath</key>
<string>/Users/{{ .user.username }}/.local/share/rclone/user-daemon.debug.log</string>
</dict>
</plist>