[Unit] Description=LinkedIn professional network After=network-online.target Wants=network-online.target [Service] Type=simple User=linkedin Group=linkedin WorkingDirectory=/opt/linkedin/current EnvironmentFile=/opt/linkedin/shared/.env Environment=NODE_ENV=production ExecStart=/usr/bin/npm run start Restart=always RestartSec=5 TimeoutStopSec=20 NoNewPrivileges=true PrivateTmp=true ProtectSystem=full ProtectHome=true ReadWritePaths=/opt/linkedin/shared [Install] WantedBy=multi-user.target