• 0 Posts
  • 12 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle


  • I have a service that pings the server:

    cat <<EOF | sudo tee /etc/systemd/system/ping-smb.service
    [Unit]
    Description=Blocks until pinging 192.168.1.10 succeeds
    After=network-online.target
    StartLimitIntervalSec=0
    
    [Service]
    Type=oneshot
    ExecStart=ping -c1 192.168.1.10
    Restart=on-failure
    RestartSec=1
    
    [Install]
    WantedBy=multi-user.target
    EOF
    
    sudo systemctl enable ping-smb.service
    

    And then I make the fstab entry depend on it:

    x-systemd.requires=ping-smb.service
    









  • Potential bias: I’m a developer at Spotify.

    “Spotify forces you either to pay, listen to ads or to find unofficial, potentially dangerous versions to use it.”

    I don’t think the company forces you to do anything. It is their business model, how they can provide copyrighted music to you and have a share of the pie too.

    I’d say the very idea that Spotify is forcing you to pay with time and attention or money so you can have music conveniently streamed to your devices is a testament to the company’s success. It created this business model and fulfilled an apparently basic need to the point you think that charging for it is unfair.

    But “forcing” is too much. You can always buy discs, digital downloads and so.