mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
25 lines
690 B
Desktop File
25 lines
690 B
Desktop File
[Unit]
|
|
Description=Bridge mqtt.git.centos.org to dbus
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.centos.git.mqtt
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
DevicePolicy=closed
|
|
ProtectSystem=full
|
|
ProtectHome=read-only
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
# NOTE: You should run this as the user (or edit the file)
|
|
# /usr/local/bin/send-mqtt-to-dbus.py --dbus-config > /etc/dbus-1/system.d/org.centos.git.mqtt.conf
|
|
|
|
#User=<TRUSTEDUSERNAME>
|
|
Group=nobody
|
|
ExecStart=/usr/local/bin/send-mqtt-to-dbus.py --dbus-use-system-bus --mqtt-server-ca=~/.centos/ca.pem --mqtt-client-cert=~/.centos/client.pem --mqtt-client-key=~/.centos/client.key
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|