grzegorz/dist/grzegorz@.service

15 lines
250 B
SYSTEMD
Raw Permalink Normal View History

2018-03-04 18:23:45 +01:00
[Unit]
Description=Grzegorz at display %i
Requires=xorg@%i.socket
Requires=xorg@%i.service
After=xorg@%i.socket
After=xorg@%i.service
[Service]
Environment="DISPLAY=:%i"
ExecStart=/usr/bin/python grzegorz/main.py
[Install]
WantedBy=default.target