1. [Unit]
  2. Description=Insync
  3. After=local-fs.target network.target
  4.  
  5. [Service]
  6. Environment=DISPLAY=:0
  7. Type=simple
  8. ExecStart=/usr/bin/insync
  9. ExecReload=/bin/kill -HUP $MAINPID
  10. KillMode=process
  11. Restart=always
  12. User=%I
  13.  
  14. [Install]
  15. WantedBy=multi-user.target