mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
bitwarden
This commit is contained in:
15
mqtt_srv.service
Normal file
15
mqtt_srv.service
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=ROT13 demo service
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network.target network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Environment=XAUTHORITY=/home/jd/.Xauthority
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
#ExecStartPre=/bin/sleep 30
|
||||||
|
ExecStart=python3 /usr/bin/mqtt_srv.py
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
|
||||||
Reference in New Issue
Block a user