libts/ts-calibrate.service

15 lines
303 B
SYSTEMD
Raw Permalink Normal View History

[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