libts/ts-calibrate.service

15 lines
302 B
SYSTEMD
Raw Permalink Normal View History

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