mirror of
https://github.com/wassname/thinkpad-x380-yoga-scripts.git
synced 2026-09-11 12:51:55 +08:00
add pidfile
This commit is contained in:
@@ -7,9 +7,10 @@ After=display-manager.service
|
||||
ExecStart=/bin/bash /opt/thinkpad-l380-yoga-scripts/tablet/tablet-mode.sh
|
||||
KillMode=process
|
||||
Environment="DISPLAY=:0"
|
||||
Type=forking
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
PIDFile=/run/systemd/yoga-tablet-mode
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user