libts1/ts-calibrate.service

15 lines
303 B
Desktop File

[Unit]
Description=Touchscreen calibration
DefaultDependencies=no
Before=graphical.target
[Service]
ConditionPathExists=/etc/ts-calibrate.conf !/etc/pointercal
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ts_calibrate
EnvironmentFile=-/etc/ts-calibrate.conf
[Install]
WantedBy=graphical.target