25 lines
556 B
Desktop File
25 lines
556 B
Desktop File
[Unit]
|
|
Description=Pi Car Companion Bluetooth bridge
|
|
After=bluetooth.service pi-car-companion.service
|
|
Requires=bluetooth.service
|
|
Wants=pi-car-companion.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/libexec/pi-car-companion-bluetooth
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
LockPersonality=true
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|