added pulse, and service for it
This commit is contained in:
parent
825f0598a4
commit
f412567da5
@ -1,11 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Pulse_and_Jack
|
Description=Pulse_and_Jack
|
||||||
After=jack.service
|
Requires=jack.service
|
||||||
Wants=jack.service
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/home/luke/bin/pulse_jack
|
ExecStart=/home/luke/bin/pulse_jack
|
||||||
ExecStop=/usr/bin/pactl unload-module module-jack-sink
|
ExecStop=/usr/bin/pactl unload-module module-jack-sink
|
||||||
|
Restart=always
|
||||||
SuccessExitStatus=0
|
SuccessExitStatus=0
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
[Install]
|
[Install]
|
||||||
|
11
config/systemd/user/pulse_jack_connect.service
Normal file
11
config/systemd/user/pulse_jack_connect.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Pulse_and_Jack_connection
|
||||||
|
Requires=pulse_jack.service
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/local/bin/pulse_jack_autoconnect
|
||||||
|
ExecStop=/usr/local/bin/pulse_jack_disconnect
|
||||||
|
SuccessExitStatus=0
|
||||||
|
RemainAfterExit=false
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
x
Reference in New Issue
Block a user