mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
displaylink: run systemctl of the currently running systemd
This commit is contained in:
parent
c7e8ceae0c
commit
5cca485396
@ -5,13 +5,13 @@
|
||||
start_service()
|
||||
{
|
||||
- systemctl start displaylink-driver
|
||||
+ @systemd@/bin/systemctl start --no-block dlm
|
||||
+ /run/current-system/systemd/bin/systemctl start --no-block dlm
|
||||
}
|
||||
|
||||
stop_service()
|
||||
{
|
||||
- systemctl stop displaylink-driver
|
||||
+ @systemd@/bin/systemctl stop dlm
|
||||
+ /run/current-system/systemd/bin/systemctl stop dlm
|
||||
}
|
||||
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user