Add nvim headless systemd user service

This commit is contained in:
Marko Korhonen 2024-01-24 10:06:34 +02:00
parent d09821e863
commit f9b7a93570
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -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