diff --git a/yamahactrl.service b/yamahactrl.service new file mode 100644 index 0000000..a59b9df --- /dev/null +++ b/yamahactrl.service @@ -0,0 +1,13 @@ +[Unit] +Description=Start and stop yamaha RX-V series amplituner toghether with PC +Wants=network-online.target +After=network.target network-online.target + +[Service] +Type=oneshot +RemainAfterExit=true +ExecStart=/usr/bin/yamahactrl -on +ExecStop=/usr/bin/yamahactrl -off + +[Install] +WantedBy=multi-user.target