[Unit] Description=Google Home Notifier After=syslog.target network-online.target [Service] Type=simple Restart=on-failure RestartSec=10 KillMode=control-group Environment=NODE_VERSION=10 User=pi WorkingDirectory=/home/pi/app/google-home-notifier ExecStart=/home/pi/.nvm/nvm-exec node example.js [Install] WantedBy=multi-user.target