install.fairie/system/Library/LaunchDaemons/rclone.user.plist.tmpl
Brian Zalewski 2731e1121b Latest
2024-05-28 03:45:14 +00:00

23 lines
No EOL
693 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>rclone</string>
<string>{{ .user.username }}</string>
<string>User</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Library/Logs/user-{{ .user.username }}-daemon.error.log</string>
<key>StandardOutPath</key>
<string>/Library/Logs/user-{{ .user.username }}-daemon.debug.log</string>
</dict>
</plist>