diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2025-06-18 12:06:04 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2025-06-18 12:06:04 +0200 |
commit | 0640b403f2dc33fca3b1ca121012b98c2420ef24 (patch) | |
tree | ad7412b9bf9c24420cab47143004e5891992837f /local/services/bt-agent.service | |
parent | 8e654849a088d7e2843233e90a0994829de638d0 (diff) |
Moved the systemd configuration in it’s own file
Diffstat (limited to 'local/services/bt-agent.service')
-rw-r--r-- | local/services/bt-agent.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/local/services/bt-agent.service b/local/services/bt-agent.service new file mode 100644 index 0000000..379634e --- /dev/null +++ b/local/services/bt-agent.service @@ -0,0 +1,18 @@ +[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 + |