Hi all,
On my system, I can setup 2 VPN connections, which are mutually
exclusive as they reach the same subnet for the most part.
Let's call these A and B. A is faster than B, but B gives access to some
extra subnets.
Now, I have a unit(some-dht.service) that needs a VPN connection but
孙冰 subi.the.dream.wal...@gmail.com writes:
I use this:
[Unit]
Description=Wicd sleep hook
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/share/wicd/daemon/suspend.py
Hi all,
I have a few things that need to get run after waking up my laptop
(things like hdparm to set device power options/spindown time).
I created oneshot, remainafterexit services for those and made them
wanted by multi-user.target.This works fine for the first boot.
As I consider these