Add nvim headless systemd user service

main
Marko Korhonen 4 months ago
parent d09821e863
commit f9b7a93570
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

@ -0,0 +1,11 @@
[Unit]
Description=Neovim headless server
[Service]
Type=simple
ExecStart=/bin/bash --login -c 'nvim --headless --listen %h/.var/nvim.socket'
Restart=always
RestartSec=1
[Install]
WantedBy=default.target
Loading…
Cancel
Save