[Unit] Description=Bluetooth Agent After=bluetooth.service Requires=bluetooth.service [Service] Type=simple ExecStartPre=bt-adapter --set Discoverable 1 #ExecStart=bt-agent -c NoInputNoOutput ExecStart=bt-agent -p /etc/bluetooth/pins ## Restart the service each 60s #WatchdogSec=60 #RestartSec=60 #Restart=always [Install] WantedBy=multi-user.target