[Unit] Description=SpotMe on {{ domain }} After=syslog.target After=network.target Requires=mariadb.service [Service] Type=simple User={{ spotme_system_user }} Group={{ spotme_system_user }} WorkingDirectory={{ spotme_installation_directory }} ExecStart=/usr/bin/npm start EnvironmentFile={{ service_environment_file }} Restart=always RestartSec=2s StartLimitInterval=60s StartLimitBurst=5 [Install] WantedBy=multi-user.target